3com 4210 PWR 9-Port 3CR17341-91-ME User Manual
Product codes
3CR17341-91-ME
DNS Configuration Example
553
0.00% packet loss
round-trip min/avg/max = 2/3/5 ms
Dynamic Domain Name
Resolution
Configuration Example
Network requirements
As shown in Figure 199, the switch serving as a DNS client uses dynamic domain
name resolution to access the host at 3.1.1.1/16 through its domain name host.
The DNS server has the IP address 2.1.1.2/16. The DNS suffix is com.
name resolution to access the host at 3.1.1.1/16 through its domain name host.
The DNS server has the IP address 2.1.1.2/16. The DNS suffix is com.
Network diagram
Figure 199 Network diagram for dynamic DNS configuration
Configuration procedure
n
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.
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.
■
The DNS server works normally.
# Enable dynamic domain name resolution.
<4210> system-view
[4210] dns resolve
# Configure the IP address 2.1.1.2 for the DNS server.
[4210] dns server 2.1.1.2
# Configure com as the DNS suffix
[4210] 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.
between Switch and Host is normal and that the corresponding IP address is
3.1.1.1.
[4210] ping host
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
2.1.1.2/16
2.1.1.1
DNS server
Switch
DNS client
1.1.1/16
host. com
IP network
Host
/16
1.
3.1.1.1/ 16