< Home

Configuring the Dynamic Domain Name Resolution

Context

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

To implement dynamic domain name resolution, you need to enable dynamic DNS resolution, configure the IP address of a DNS server, configure a source IP address for the DNS client to communicate with a server, and configure a domain name suffix. The DNS server IP address and domain name suffix can be dynamically obtained using DHCP. For details about DHCP configuration, see DHCP Configuration.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run dns resolve

    Dynamic domain name resolution is enabled.

    By default, dynamic domain name resolution is disabled.

  3. Run dns server ip-address [ vpn-instance vpn-instance-name ]

    The IP address of a DNS server is configured.

    By default, no IP addresses of DNS servers are configured.

    A maximum of six DNS server IP (IPv4 and IPv6) addresses can be configured on the switch.

  4. (Optional) Run dns server source-ip ip-address [ vpn-instance vpn-instance-name ]

    The source IP address is configured for the DNS client to communicate with a server.

    By default, no source IP address is configured for the DNS client to communicate with a server.

  5. (Optional) Run dns domain domain-name [ vpn-instance vpn-instance-name ]

    A domain name suffix is configured.

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

    A maximum of ten domain name suffixes can be configured on the switch.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >