No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Fat AP and Cloud AP V200R010C00 Command Reference

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
rr a

rr a

Function

The rr a command configures static resource records of type A.

The undo rr a command deletes static resource records of type A.

By default, no static resource record of type A is configured.

Format

rr a hostname host-name ip-address ip-address

undo rr a [ hostname host-name [ ip-address ip-address ] ]

Parameters

Parameter

Description

Value

hostname host-name

Specifies the host name.

The value is a string of 1 to 63 case-insensitive characters without spaces.

ip-address ip-address

Specifies the IP address corresponding to the host name.

The value is in dotted decimal notation.

Views

DNS zone view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

In the DNS zone, you can configure resource records of type A and create mappings between host names and IP addresses. When a client requests for the IP address corresponding to a domain name, the device sends a response using the locally configured resources of type A.

You can run the display dns zone zone-name command to check the currently configured static resource records of type A.

Prerequisites

A DNS zone has been created using the dns zone zone-name command.

Precautions

Each host name can be mapped to only one IP address. When multiple IP addresses are mapped to a host name, only the latest configuration takes effect.

Example

# In the DNS zone com, configure resource records of type A and create the mapping between the host name huawei and IP address 10.1.1.1.

<Huawei> system-view
[Huawei] dns zone com
[Huawei-dns-zone-com] rr a hostname huawei ip-address 10.1.1.1
Translation
Download
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 207481

Downloads: 122

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Share
Previous Next