R3721-F3210-F3171-HP High-End Firewalls Network Management Configuration Guide-6PW101

Table Of Contents
712
Figure 374 Adding a mapping between domain name and IPv6 address
Configuring the DNS client
# Enable dynamic domain name resolution.
<Firewall> system-view
[Firewall] dns resolve
# Specify the DNS server 2::2.
[Firewall] dns server ipv6 2::2
# Configure com as the DNS suffix.
[Firewall] dns domain com
Verifying the configuration
# Use the ping ipv6 host command on the Firewall to verify that the communication between the Firewall
and the host is normal and that the corresponding destination IP address is 1::1.
[Firewall] ping ipv6 host
Trying DNS resolve, press CTRL_C to break
Trying DNS server (2::2)
PING host.com (1::1):
56 data bytes, press CTRL_C to break
Reply from 1::1
bytes=56 Sequence=1 hop limit=126 time = 2 ms
Reply from 1::1
bytes=56 Sequence=2 hop limit=126 time = 1 ms