3com 8807 User Guide

Page of 883
Displaying and Debugging Domain Name Resolution
711
Configure the IP Address 
of Domain Name Server
You are required to configure the domain name sever if you need to use the 
function of the dynamic domain name resolution. In this way, you can send the 
inquiry request packets to the appropriate sever. The system supports up to six 
domain name severs.
Perform the following configuration in system view.
Configure Domain Name 
Suffix
You can use the following command to configure domain name suffix list. By 
configuring this, you can just input part of the domain name and the system 
automatically adds the preconfigured suffix to perform the resolution. The system 
supports up to 10 domain name suffixes.
Perform the following configuration in system view.
Displaying and 
Debugging Domain 
Name Resolution
After the above configuration, you can execute the display command in any view 
to view the running states of the domain name resolution, and verify the 
configuration results through the displayed information.
Execute the reset command in user view to clear the dynamic domain name 
buffer. Execute the debugging command to debug the domain name resolution.
DNS Configuration 
Example
Network requirements
As the client, the switch uses dynamic domain name resolution. The IP address of 
the domain name server is 172.16.1.1. The configured suffix of the domain name 
is "com". There is a route between the switch and the server.
Table 658   Configure the IP address of the domain name sever
Operation 
Command 
Configure the IP address of the domain name sever 
dns server ip-address 
Delete the IP address of the domain name sever 
undo dns server [ ip-address ]
Table 659   Configure domain name suffix
Operation 
Command 
Configure domain name suffix 
dns domain domain-name 
Delete domain name suffix 
undo dns domain [ domain-name ]
Table 660   Display and debug the domain name resolution
Operation 
Command 
Display the static domain name resolution table 
display ip host 
Display the information on domain name sever 
display dns server 
Display the information on domain name suffix list 
display dns domain 
Display the information on the dynamic domain name buffer 
display dns dynamic-host 
Clear dynamic domain name buffer 
reset dns dynamic-host 
Enable the debugging for the domain name resolution 
debugging dns 
Disable the debugging for the domain name resolution 
undo debugging dns