Configuring the dns client, Verifying the configuration – H3C Technologies H3C SecPath F1000-E User Manual
Page 757
732
Figure 378 Adding a mapping between domain name and IPv6 address
Configuring the DNS client
# Enable dynamic domain name resolution.
<SecPath> system-view
[SecPath] dns resolve
# Specify the DNS server 2::2.
[SecPath] dns server ipv6 2::2
# Configure com as the DNS suffix.
[SecPath] dns domain com
Verifying the configuration
# Use the ping ipv6 host command on the SecPath to verify that the communication between the SecPath
and the host is normal and that the corresponding destination IP address is 1::1.
[SecPath] 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