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-select-algorithm

dns-server-select-algorithm

Function

The dns-server-select-algorithm command configures the DNS server selection mode of the device.

The undo dns-server-select-algorithm command restores the default setting.

By default, the device selects a DNS server in auto mode.

Format

dns-server-select-algorithm { fixed | auto }

undo dns-server-select-algorithm

Parameters

Parameter

Description

Value

fixed

Selects a DNS server in fixed mode.

-

auto

Selects a DNS server in auto mode.

-

Views

System view

Default Level

2: Configuration level

Usage Guidelines

The device can select a DNS server in either of the following modes:
  • auto: The device uses the internal algorithm to calculate the priorities of all configured DNS servers (IP addresses of DNS servers can be configured by running the dns server command), and then sends a DNS query request to the DNS server with the highest priority. If no response is received within a specified period of time, the device retransmits the DNS query request. If the device still does not receive a response from the DNS server after sending query requests multiple times, the device sends the DNS query request to the next server in sequence until it receives a response or has sent to all of the configured DNS servers.
  • fixed: The device sends a DNS query request to the first DNS server. If no response is received within a specified period of time, the device retransmits the DNS query request. If the device still does not receive a response from the DNS server after sending query requests multiple times, the device sends the DNS query request to the next server in sequence until it receives a response or has sent to all of the configured DNS servers.

This function is supported when the device functions as a DNS client or DNS proxy/relay.

When the device functions as a DNS client:
  • This function is supported only for DNS query requests sent by IPSec, voice, PKI, or DDNS services.

  • The DNS server selection mode is not supported for DNS query requests sent by other services. The device sends the requests according to the order in which DNS servers are configured. If no response is received, the device retransmits the requests according to the order in which DNS servers are configured.

Example

# Configure the device to select a DNS server in fixed mode.

<Huawei> system-view
[Huawei] dns-server-select-algorithm fixed
Related Topics
Translation
Download
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 212109

Downloads: 122

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