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

NE20E-S2 V800R010C10SPC500 Configuration Guide - IP Services 01

This is NE20E-S2 V800R010C10SPC500 Configuration Guide - IP Services

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 IPv6 DNS Client

Configuring IPv6 DNS Client

IPv6 DNS establishes mapping between domain names and IPv6 addresses, which allows devices to use domain names to communicate.

Usage Scenario

If you want to use meaningful and easy-to-memorize domain names to access other devices, configure IPv6 DNS. IPv6 DNS entries record the mapping between domain names and IPv6 addresses. On the network in Figure 7-1, the client program and IPv6 DNS client are configured on the same device.
  • If you seldom use domain names to access other devices or no IPv6 DNS server is available, configure static IPv6 DNS on the IPv6 DNS client. To configure static IPv6 DNS, you must know the mapping between domain names and IPv6 addresses. If a mapping changes, you must manually modify the IPv6 DNS entry on the IPv6 DNS client.
  • If you want to use domain names to access many devices and IPv6 DNS servers are available, configure dynamic IPv6 DNS on the IPv6 DNS client.
Figure 7-1 IPv6 DNS networking

Pre-configuration Tasks

Before configuring IPv6 DNS, complete the following tasks:
  • Configure a route from an IPv6 DNS client to an IPv6 DNS server to allow the client and server to communicate at Layer 3.

  • Configure an IPv6 DNS server.

Procedure

  • Configure static IPv6 DNS.

    1. Run system-view

      The system view is displayed.

    2. Run ipv6 host host-name ipv6-address [ vpn-instance vpn-name ]

      A static IPv6 DNS entry is configured.

    3. Run commit

      The configuration is committed.

  • Configure dynamic IPv6 DNS.

    1. Run system-view

      The system view is displayed.

    2. Run dns resolve

      Dynamic DNS is enabled.

    3. Run dns server ipv6 ipv6-address [ interface-type interface-number ] [ vpn-instance vpn-name ]

      A DNS server IPv6 address is specified.

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

      A source IPv6 address is specified for domain name resolution.

      Specifying a source IPv6 address to be used by an IPv6 DNS client to communicate with an IPv6 DNS server ensures communication security.

    5. Run dns domain domain-name [ vpn-instance vpn-name ]

      A domain name suffix is added.

    6. (Optional) Run dns timeout interval-time

      A DNS query response timeout period is configured.

    7. (Optional) Run dns try times

      The number of retransmission times for DNS query packets is configured.

    8. Run commit

      The configuration is committed.

    NOTE:

    To specify multiple DNS server IPv6 addresses, repeat Step 3. To specify multiple domain name suffixes, repeat Step 5.

Verifying the Configuration of IPv6 DNS

After configuring IPv6 DNS, verify the configuration.

  • Run the display ipv6 host command to check static IPv6 DNS entries that record mapping between host names and IPv6 addresses.

    <HUAWEI> display ipv6 host
    Host                 Age        Flags  Address
    hw                   0          static 2001:db8::1
    gww                  0          static 2001:db8::2
    
  • Run the display dns server command to check all DNS server IPv6 addresses.

    <HUAWEI> display dns server
    IPv4 Dns Servers :
    Domain-server        IpAddress
         1               172.16.1.1
         2               172.16.1.2
    IPv6 Dns Servers :
    Domain-server Ipv6Address            Interface Name
         1        2001:db8::1
         2        2001:db8::2
    
  • Run the display dns domain command to check domain name suffixes.

    <HUAWEI> display dns domain
    No                   Domain Name
    1                    com
    2                    net
  • Run the display dns ipv6 dynamic-host command to check dynamic IPv6 DNS entries in the domain name cache.

    <HUAWEI> display dns ipv6 dynamic-host
    No   Domain Name           Ipv6address                              TTL          Alias
    1    huawei1.com           2001:db8:2                               86378  
Translation
Download
Updated: 2019-01-02

Document ID: EDOC1100055376

Views: 21921

Downloads: 48

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next