3com 8807 User Guide
712
C
HAPTER
58: DNS C
ONFIGURATION
Network diagram
Figure 167 Network diagram for DNS client
Configuraiton procedure
# Enable dynamic domain name resolution
[SW8800] dns resolve
# Configure the IP address of the domain name server to 172.16.1.1.
[SW8800] dns server 172.16.1.1
# Configure the domain name suffix as com.
[SW8800] dns domain com
# Ping a host with the specified domain name.
[SW8800] ping ftp
Trying DNS server (172.16.1.1)
PING ftp.com (200.200.200.200): 56 data bytes, press CTRL_C to break
Reply from 200.200.200.200: bytes=56 Sequence=1 ttl=128 time=2 ms
Reply from 200.200.200.200: bytes=56 Sequence=2 ttl=128 time=2 ms
Reply from 200.200.200.200: bytes=56 Sequence=3 ttl=128 time=2 ms
Reply from 200.200.200.200: bytes=56 Sequence=4 ttl=128 time=2 ms
Reply from 200.200.200.200: bytes=56 Sequence=5 ttl=128 time=2 ms
--- ftp.com ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 2/2/2 ms
The routing configuration between the switch and the domain name sever is
omitted here, and refer to the related chapter for the configuration.
omitted here, and refer to the related chapter for the configuration.
Troubleshooting
Domain Name
Resolution
Configuration
Domain Name
Resolution
Configuration
Fault: Domain name resolution fails.
Troubleshoot: Perform the following procedures:
■
Check whether the domain name resolution function is enabled.
■
Check whether the IP address of the domain name sever is correctly
configured.
configured.
■
Check whether there is a correct route between the domain name sever and
the switch.
the switch.
■
Check whether there is network connection failure, such as network cable
break, loose connection, and so on.
break, loose connection, and so on.
DNS Server
Switch
Internet
172.16.1.1