
64-380
Function:
To display the application debug information of DNS domain name resolution, the no form of this command disables
the debug 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 Address:202.108.33.32
.....
Success rate is 0 percent (0/5), round-trip min/avg/max = 0/0/0 ms
64.3 dns-server
Command:
dns-server {
<ip-address>|<ipv6-address>
} [priority
<value>
]
no dns-server {
<ip-address>|<ipv6-address>
}
Function:
To configure/delete DNS server.
Parameter:
<ip-address>
is the IP address, in dotted decimal notation,
<ipv6-address>
is the IPv6 address,
<value>
is the priority of DNS server, range between 0~255, 0 by default.