Typical Examples Of Dns - Edge-Core ES4624-SFP Basic Management Manual

Hide thumbs Also See for ES4624-SFP:
Table of Contents

Advertisement

the no form of this command disables the dubug display.
Parameter: None.
Command Mode: Admin Mode.
Example:
Switch#debug dns all
Switch#ping host www.sina.com.cn
%Jan 01 00:03:13 2006 domain name www.sina.com.cn is to be parsed!
%Jan 01 00:03:13 2006 Dns query type is A!
%Jan 01 00:03:13 2006 Connect dns server 10.1.120.241 ......
ping www.sina.com.cn [202.108.33.32]
Type ^c to abort.
Sending 5 56-byte ICMP Echos to 202.108.33.32, timeout is 2 seconds.
%Jan 01 00:03:15 2006 Host:www.sina.com.cn
.....
Success rate is 0 percent (0/5), round-trip min/avg/max = 0/0/0 ms

20.4 Typical Examples of DNS

ip domain-lookup
dns-server 219.240.250.101
dns-server 2001::1
SWITCH
As shown in fig, the switch connected to DNS server through network, if the switch
want to visit sina Website, it needn't to know the IPv4/IPv6 address of sina Website, only
need is to record the domain name of sina Website is www.sina.com.cn. The DNS server
can resolute out the IPv4/IPv6 address of this domain name and send to switch, then the
switch can visit sina Website correctly. The switch is configured as DNS client, basic
configurations are as below: first to enable DNS dynamic domain name resolution
function on switch, and configure DNS server address, then with some kinds of tools
INTERNET
Fig 20-1 DNS
CLIENT
527
Address:202.108.33.32
DNS SERVER
IP: 219.240.250.101
IPv6: 2001::1
typical
environment

Advertisement

Table of Contents
loading

This manual is also suitable for:

Es4626-sfp

Table of Contents