R2511-HP MSR Router Series Layer 3 - IP Services Configuration Guide(V5)

319
Ste
p
Command
Remarks
2. Enable dynamic domain
name resolution.
dns resolve Disabled by default.
3. Specify a DNS server.
dns server ipv6 ipv6-address
[ interface-type
interface-number ]
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.
4. Configure a DNS suffix.
dns domain domain-name
Optional.
Not configured by default. Only the
provided domain name is resolved.
Displaying and maintaining IPv6 DNS
Task Command Remarks
Display the static IPv6 domain
name resolution table.
display ipv6 host [ | { begin | exclude | include }
regular-expression ]
Available in any view.
Display IPv6 DNS server
information.
display dns ipv6 server [ dynamic ] [ | { begin |
exclude | include } regular-expression ]
Available in any view.
Display DNS suffixes.
display dns domain [ dynamic ] [ | { begin |
exclude | include } regular-expression ]
Available in any view.
Display information about
dynamic IPv6 domain name
cache.
display dns host ipv6 [ | { begin | exclude |
include } regular-expression ]
Available in any view.
Clear information about
dynamic IPv6 domain name
cache.
reset dns host ipv6 Available in user view.
Static domain name resolution configuration
example
Network requirements
As shown in Figure 127, the device wants to access the host by using an easy-to-remember domain name
rather than an IPv6 address. Configure static domain name resolution on the device so that the device
can use the domain name host.com to access the host whose IPv6 address is 1::2.
Figure 127 Network diagram