beautypg.com

3 typical examples of dns, Ypical, Xamples of – QTECH QSW-3400 Инструкция по настройке User Manual

Page 448

background image

+7(495) 797-3311 www.qtech.ru
Москва, Новозаводская ул., 18, стр. 1

447

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.

63.3 Typical Examples of DNS

DNS CLIENT typical environment

As shown in fig, the switch connected to DNS server through network, if the switch want to visit

xname

Website, it needn’t to know the IPv4/IPv6 address of xname Website, only need is to

record the domain name of xname Website is www.xname.org. The DNS server can resolute

out the IPv4/IPv6 address of this domain name and send to switch, then the switch can visit

xname 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.

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