3com 8807 User Guide

Page of 883
710
C
HAPTER
 58: DNS C
ONFIGURATION
"3Com", the system regards it as a host name and add a domain name suffix to 
search. After all the domain names are failed to be searched out in this way, the 
system finally searches with the primarily input domain name. If the input domain 
name does include ".", like "www.3Com", the system searches with it directly. 
The system adds each suffix to search one by one only after the search fails. If the 
input domain name contains a "." in the final position, like "3Com.com.", it 
indicates that the domain name suffix needs not to be added. The system removes 
the last "." from the input domain name and search with the remaining part. 
Succeeded or not, the system returns to the originally input domain name. Put it 
more specifically, if the last character of the input domain name is ".", the system 
only searches according to characters before the "." rather than matches the 
domain name. In this sense, the last "." is also called "search terminator".
Configuring Static 
Domain Name 
Resolution
You can use this command to map the host name to the host IP address. When 
you use applications like Telnet, you can use the host name directly, and the 
system translates it into the IP address, rather than the obscure IP address.
Perform the following configuration in system view.
Each host can have only one IP address. If you configure a host name more than 
once, then the IP address configured at last is effective.
Configuring Dynamic 
Domain Name 
Resolution
Dynamic domain name resolution configuration includes:
Enable/Disable Static 
Domain Name 
Resolution
You can use the following command to enable dynamic domain name resolution. 
However, since dynamic domain name resolution may take some time, you can 
disable this function when you do not want to perform dynamic domain name 
resolution sometimes.
Perform the following configuration in system view.
By default, dynamic domain name resolution is disabled.
Table 656   Configure host name and the corresponding IP address
Operation 
Command 
Configure host name and the corresponding 
IP address 
ip host hostname ip-address 
Cancel host name and the corresponding IP 
address 
undo ip host hostname [ ip-address ]
Table 657   Enable/disable dynamic domain name resolution
Operation 
Command 
Enable dynamic domain name resolution 
dns resolve 
Disable dynamic domain name resolution 
undo dns resolve