H3C S3100-52P Operation Manual page 932

Hide thumbs Also See for S3100-52P:
Table of Contents

Advertisement

Operation Manual – DNS
H3C S3100-52P Ethernet Switch
III. Configuration procedure
Note:
Before doing the following configuration, make sure that:
The routes between the DNS server, Switch, and Host are reachable.
Necessary configurations are done on the devices. For the IP addresses of the
interfaces, see the figure above.
There is a mapping between domain name host and IP address 3.1.1.1/16 on the
DNS server.
The DNS server works normally.
# Enable dynamic domain name resolution.
<Sysname> system-view
[Sysname] dns resolve
# Configure the IP address 2.1.1.2 for the DNS server.
[Sysname] dns server 2.1.1.2
# Configure com as the DNS suffix
[Sysname] dns domain com
Execute the ping host command on Switch to verify that the communication between
Switch and Host is normal and that the corresponding IP address is 3.1.1.1.
[Sysname] ping host
Trying DNS server (2.1.1.2)
PING host.com (3.1.1.1): 56
Reply from 3.1.1.1: bytes=56 Sequence=1 ttl=125 time=4 ms
Reply from 3.1.1.1: bytes=56 Sequence=2 ttl=125 time=4 ms
Reply from 3.1.1.1: bytes=56 Sequence=3 ttl=125 time=4 ms
Reply from 3.1.1.1: bytes=56 Sequence=4 ttl=125 time=4 ms
Reply from 3.1.1.1: bytes=56 Sequence=5 ttl=125 time=5 ms
--- host.com ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 4/4/5 ms
data bytes, press CTRL_C to break
1-6
Chapter 1 DNS Configuration

Advertisement

Table of Contents
loading

Table of Contents