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

CLI-based Configuration Guide - IP Service

AR500, AR510, AR531, AR550, AR1500, and AR2500 V200R010

This document describes the concepts and configuration procedures of IP Service features on the device, and provides the configuration examples.
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).
Configuring the Dynamic Domain Name Resolution

Configuring the Dynamic Domain Name Resolution

Context

For dynamic domain name resolution, the DNS server needs to provide the mapping between domain names and IP addresses and receive domain name resolution requests from clients.

To implement dynamic DNS, you need to enable dynamic DNS resolution, configure the IP address of DNS server, configure a source IP address for the local device to receive DNS packets, and configure a domain name suffix.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run dns resolve

    Dynamic domain name resolution is enabled.

    By default, dynamic DNS resolution is disabled.

  3. Run dns server ip-address

    The IP address of the DNS server is configured.

    By default, no IP address of the DNS server is configured.

  4. (Optional) Run dns server vpn-instance vpn-instance-name

    The device is configured to send DNS query requests to the DNS server on a specified VPN network.

    By default, the device can only send DNS query requests to the DNS server on a public network.

    NOTE:

    If you run this command multiple times, only the latest configuration takes effect.

    The device can send DNS query requests to the DNS server on a public network or specified VPN network.

    The device can respond to DNS query requests sent by DNS clients on multiple VPN networks.

  5. (Optional) Run dns server source-ip ip-address

    The source IP address is configured for the local device to receive DNS packets.

    By default, no source IP address is configured for the local device to receive DNS packets.

    NOTE:
    • Ensure that the source IP address is the IP address of an interface or logical interface on the device, and there are reachable routes between the interface and the DNS server.

    • Ensure that the source IP address and the IP address of the DNS server are on the same VPN or public network.

  6. (Optional) Run dns domain domain-name

    A domain name suffix is configured.

    By default, no domain name suffix is configured on a DNS client.

  7. (Optional) Configure the algorithm mode and retransmission mechanism for a device to send DNS query requests to the DNS server.

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

      The mode for the device to select the DNS server is configured.

      By default, the mode for a device to select the DNS server is auto.

    • Run dns forward retry-number number

      The number of times for the device to retransmit query requests to the destination DNS server is configured.

      By default, the number of times for a device to retransmit DNS query requests to the destination DNS server is 2.

    • Run dns forward retry-timeout time

      The retransmission timeout period for query requests sent by the device to the destination DNS server is configured.

      By default, the retransmission timeout period for DNS query requests sent by a device to the destination DNS server is 3 seconds.

    NOTE:
    The total timeout period for DNS query requests configured by dns forward retry-number and dns forward retry-timeout cannot be too short. Generally, the default value is recommended. If the time of waiting for the resolution response from the DNS server is too long, and the service exception is caused, you can prolong the retransmission timeout period as required.

Translation
Download
Updated: 2019-05-20

Document ID: EDOC1100034231

Views: 79764

Downloads: 51

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