H3C S3610-28P Operation Manual page 1220

S3610 & s5510 series
Table of Contents

Advertisement

Operation Manual – DNS
H3C S3610&S5510 Series Ethernet Switches
Figure 1-6 Add a mapping between domain name and IP address
2)
Configure the DNS client
# Enable dynamic domain name resolution.
<Sysname> system-view
[Sysname] dns resolve
# Configure IP address 2.1.1.2 of the DNS server
[Sysname] dns server 2.1.1.2
# Configure com as the name suffix
[Sysname] dns domain com
Execute the ping host command on the device to verify that the communication
between the device and the host is normal and that the corresponding destination IP
address is 3.1.1.1.
[Sysname] ping host
Trying DNS resolve, press CTRL_C to break
Trying DNS server (2.1.1.2)
PING host.com (3.1.1.1):
56
data bytes, press CTRL_C to break
Reply from 3.1.1.1: bytes=56 Sequence=1 ttl=255 time=3 ms
Reply from 3.1.1.1: bytes=56 Sequence=2 ttl=255 time=1 ms
Reply from 3.1.1.1: bytes=56 Sequence=3 ttl=255 time=1 ms
Reply from 3.1.1.1: bytes=56 Sequence=4 ttl=255 time=1 ms
Reply from 3.1.1.1: bytes=56 Sequence=5 ttl=255 time=1 ms
1-8
Chapter 1 DNS Configuration

Advertisement

Table of Contents
loading

Table of Contents