12-2
To do…
Use the command…
Remarks
Enable dynamic domain
name resolution
dns resolve
Required
Disabled by default.
Specify a DNS server
dns server
ipv6
ipv6-address
[
interface-type interface-number
]
Required
Not specified by default.
If the IPv6 address of a DNS server is
a link-local address, you need to
specify the
interface-type
and
interface-number
arguments.
Configure a DNS suffix
dns domain domain-name
Required
Not configured by default, that is, only
the provided domain name is resolved.
z
The
dns resolve
and
dns domain
commands are the same as those of IPv4 DNS.
z
You can configure up to six DNS servers, including those with IPv4 addresses.
z
You can specify up to ten DNS suffixes.
Displaying and Maintaining IPv6 DNS
To do…
Use the command…
Remarks
Display the static IPv6 domain name
resolution table
display ipv6 host
Available in any view
Display IPv6 DNS server information
display
dns ipv6 server
[
dynamic
]
Available in any view
Display DNS suffixes
display
dns domain
[
dynamic
]
Available in any view
Display the information of dynamic IPv6
domain name cache
display dns ipv6 dynamic-host
Available in any view
Clear the information of dynamic IPv6
domain name cache
reset dns ipv6 dynamic-host
Available in user view