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).
dns-server (WAN view)

dns-server (WAN view)

Function

The dns server command configures an IP address for a DNS server.

The undo dns server command deletes the IP address of a DNS server.

By default, no IP address is configured for a DNS server.

Format

dns-server ip-address1 [ ip-address2 ]

undo dns-server ip-address1 [ ip-address2 ]

Parameters

Parameter

Description

Value

ip-address1

Specifies the IP address of the primary DNS server.

The value is in dotted decimal notation.

ip-address2

Specifies the IP address of the secondary DNS server.

The value is in dotted decimal notation.

Views

WAN view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

A cloud AP sends a request to the primary DNS server to apply for a domain name. If the AP does not receive any response within a specified period of time, it sends the request again. If there is still no response from the primary DNS server after it sends the request for a specified number of times, the cloud AP sends the request to the secondary DNS server.

Example

# Configure IP addresses of the primary and secondary DNS servers to 192.168.1.11 and 192.168.1.147, respectively.

<Huawei> system-view
[Huawei] interface wan0
[Huawei-WAN] dns-server 192.168.1.11 192.168.1.147
Translation
Download
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 210199

Downloads: 122

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