
CAUTION
If multiple DNS servers are configured, the servers are queried in the order of configuration till
proper response is received. If both IPv4 and IPv6 servers are configured, the A query is first
sent to the IPv4 server, while AAAA query packets are first sent to the IPv6 server.
The DNS domains are configured on a device and the domain names can be searched. If the
DNS fails in searching for a host name, it appends a domain name to the host name following a
"." and continues the DNS search. You can configure some commonly used domain names like
"com", and "net". For example, if the search for the host name "huawei" fails, the system then
searches for "huawei.com" or "huawei.net".
Do as follows on the switch:
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
dns resolve
The dynamic domain name resolution is enabled.
Step 3
Run:
dns server ipv6
ipv6-address
[
interface-type interface-number
]
The IPv6 DNS server is configured.
Step 4
Run:
dns server ipv6 source-ip
ipv6-address
The IPv6 address of the local device is specified.
After the source IPv6 address is specified for the local device, the local device uses the specified
source IPv6 address to communicate with the IPv6 DNS server to ensure the security of check.
Step 5
Run:
dns domain
domain-name
The suffix of domain names is added.
----End
6.3.4 Checking the Configuration
You can view the configuration of the IPv6 DNS.
Prerequisite
The configurations of the IPv6 DNS function are complete.
Quidway S2700 Series Ethernet Switches
Configuration Guide - IP Service
6 IPv6 DNS Configuration
Issue 01 (2011-07-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
77