4 dns-server, Server – PLANET WGSW-52040 User Manual
Page 838

62-378
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
62.4 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.
Command Mode:
Global Mode.
Default:
Not configuration.
Usage Guide:
This command is used for configure or delete DNS server, when need to enable dynamic domain name mapping, the