3 typical examples of dns, Ypical, Xamples of – PLANET WGSW-52040 User Manual
Page 492: Dns -63

65-63
show dns name-server
To show the configured DNS server
information.
show dns domain-list
To show the configured DNS domain name
suffix information.
show dns hosts
To show the dynamic domain name
information of resolved by switch.
show dns config
Display the configured global DNS
information on the switch.
show dns client
Display the DNS Client information
maintained by the switch.
debug dns {all | packet [send | recv] |
events | relay}
no debug dns {all | packet [send | recv]
| events | relay}
To enable/disable DEBUG of DNS function.
65.3 Typical Examples of DNS
DNS SERVER
IP: 219.240.250.101
IPv6: 2001::1
ip domain-lookup
dns-server 219.240.250.101
dns-server 2001::1
SWITCH
INTERNET
Figure 65-1: DNS CLIENT typical environment
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 such as PING, the switch can get
corresponding IPv4/IPv6 address with dynamic domain name resolution function.