4 dns troubleshooting, Roubleshooting – QTECH QSW-3400 Инструкция по настройке User Manual

Page 449

Advertising
background image

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

448

DNS SERVER typical environment

The figure above is an application of DNS SERVER. Under some circumstances, the client PC
doesn’t know the real DNS SERVER, and points to the switch instead. The switch plays the

role of a DNS SERVER in two steps: Enable the global DNS SERVER function, configure the

IP address of the real DNS server. After the DNS SERVER function is globally enabled, the

switch will look up its local cache when receiving a DNS request from a client PC. If there is a

d

omain needed by the local client, it will directly answer the client’s request; otherwise, the

switch will relay the request to the real DNS server, pass the reply from the DNS Server to the

client and record the domain and its IP address for a faster lookup in the future.

Switch configuration for DNS CLIENT:
Switch(config)# ip domain-lookup
Switch(config)# dns-server 219.240.250.101
Switch(config)# dns-server 2001::1
Switch#ping host www.xname.org
Switch#traceroute host www.xname.org
Switch#telnet host www.xname.org

Switch configuration for DNS SERVER:
Switch(config)# ip domain-lookup
Switch(config)# dns-server 219.240.250.101
Switch(config)# dns-server 2001::1
Switch(config)# ip dns server

63.4 DNS Troubleshooting

In configuring and using DNS, the DNS may fail due to reasons such as physical connection

failure or wrong configurations. The user should ensure the following:

First make sure good condition of the TACACS+ server physical connection;

DNS SERVER
IP:219.240.250.101
IPv6:2001::1

INTERNET

SWITCH

client

Advertising