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 (service scheme view)

dns (service scheme view)

Function

The dns command configures the primary or secondary DNS server in a service scheme.

The undo dns command cancels the configuration of the primary or secondary DNS server in a service scheme.

By default, no primary or secondary DNS server is configured in a service scheme.

Format

dns ip-address [ secondary ]

undo dns [ ip-address ]

Parameters

Parameter Description Value
ip-address

Specifies the IP address of a DNS server.

The value is in dotted decimal notation.
secondary

Specifies the secondary DNS server.

-

Views

Service scheme view

Default Level

3: Management level

Usage Guidelines

If no DNS server is specified when a local address pool, DHCP server, or RADIUS server assigns IP addresses to users, the DNS server configured in the service scheme view is used.

Example

# Set the IP address of the primary DNS server in the service scheme svcscheme1 to 10.10.10.1.

<Huawei> system-view
[Huawei] aaa
[Huawei-aaa] service-scheme svcscheme1
[Huawei-aaa-service-svcscheme1] dns 10.10.10.1

# Set the IP address of the secondary DNS server in the service scheme svcscheme1 to 10.10.20.1.

<Huawei> system-view
[Huawei] aaa
[Huawei-aaa] service-scheme svcscheme1
[Huawei-aaa-service-svcscheme1] dns 10.10.20.1 secondary
Translation
Download
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 209102

Downloads: 122

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