Figure 10-6, Type host nam – H3C Technologies H3C S7500E Series Switches User Manual

Page 108

Advertising
background image

10-7

Figure 10-6 Add a mapping between domain name and IPv6 address

2) Configure the DNS client

# Enable dynamic domain name resolution.

<Switch> system-view

[Switch] dns resolve

# Specify the DNS server 2::2.

[Switch] dns server ipv6 2::2

# Configure com as the DNS suffix.

[Switch] dns domain com

3) Configuration

verification

# Use the ping ipv6 host command on the Switch to verify that the communication between the

Switch and the host is normal and that the corresponding destination IP address is 1::1.

[Switch] 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

Reply from 1::1

Advertising