< Home

Configuring the IPv6 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 mappings between domain names and IPv6 addresses.

To implement dynamic domain name resolution, you need to enable dynamic domain name resolution, configure the IPv6 address of a DNS server, configure a source IPv6 address for the DNS client to communicate with a server, and configure a domain name suffix. If the DNS client uses an IPv6 address allocated by a DHCPv6 server and the information delivered by the DHCPv6 server to the DNS client contains the DNS server IPv6 address and the domain name suffix list, you only need to enable dynamic domain name resolution. For details about DHCPv6 configuration, see DHCPv6 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 ipv6 ipv6-address [ interface-type interface-number ] [ vpn-instance vpn-instance-name ]

    The IPv6 address of a DNS server is configured.

    By default, no IPv6 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 ipv6 source-ip ipv6-address [ vpn-instance vpn-instance-name ]

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

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

    After the source IPv6 address is specified, the DNS client uses the specified IPv6 address to communicate with the DNS server. This ensures communication security. If no source IPv6 address is specified, the DNS client needs to select a source IPv6 address according to the destination address each time it sends an IPv6 DNS request.

    If only one route from the DNS server to the client with an IPv6 address is reachable, you need to specify the source IPv6 address in the DNS query message when the DNS client sends a DNS query to the 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.

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