516 CHAPTER 38: IPV6 BASICS CONFIGURATION
Configuring Dynamic
IPv6 Domain Name
Resolution
If you want to use the dynamic domain name function, you can use the following
command to enable the dynamic domain name resolution function. In addition,
you should configure a DNS server so that a query request message can be sent to
the correct server for resolution. The system can support at most six DNS servers.
You can configure a DNS suffix so that you only need to enter some fields of a
domain name and the system can automatically add the preset suffix for address
resolution. The system can support at most 10 DNS suffixes.
Follow these steps to configure dynamic IPv6 domain name resolution:
n
The dns resolve and dns domain commands are the same as those of IPv4 DNS.
For details about the commands, refer to “DNS Configuration” on page 971.
Displaying and
Maintaining IPv6
Basics Configuration
To do… Use the command… Remarks
Enter system view system-view -
Enable the dynamic
domain name
resolution function
dns resolve Required
Disabled by default.
Configure an IPv6 DNS
server
dns server ipv6
ipv6-address
[ interface-type
interface-number ]
Required
If the IPv6 address of the DNS server is a
link-local address, you need to specify a
value for interface-type and
interface-number.
Configure the DNS
suffix.
dns domain
domain-name
Required
By default, no DN suffix is configured,
that is, the domain name is resolved
according to the input information.
To do… Use the command… Remarks
Display DNS suffix information display dns domain [ dynamic ] Available in
any view
Display IPv6 dynamic domain
name cache information.
display dns ipv6 dynamic-host
Display IPv6 DNS server
information
display dns ipv6 server [ dynamic ]
Display the IPv6 FIB entries display ipv6 fib [ ipv6-address ]
Display the mappings between
host names and IPv6 addresses
in the static DNS database.
display ipv6 host
Display the IPv6 information of
an interface
display ipv6 interface [ brief ]
[ interface-type [ interface-number ]]
Display neighbor information display ipv6 neighbors { ipv6-address | all |
dynamic | interface interface-type
interface-number | static | vlan vlan-id } [ |
{ begin | exclude | include } string ]