User's Manual

478
Command Function
ip domain lookup
Eable DNS lookup.
no ip domain lookup
Disable DNS lookup.
64.3.2 Specify the IP address of a domain name server
It may assign serveral name servers,but can only appoint six at most.The name server assigned before will be
queried earlier. When we use the no format without any parameter,it express for delete all the name servers.
In congure use the following command:
Command Function
ip domain name-server
ip-address Set a domain name server
no ip domain name-server
ip-address Delete domain name server
Note
no ip domain name-server ip-
address
Express delete a domain name server which IP address is ip-
address.
no ip domain name-server Express delete all the domain name servers.
64.3.3 Set a default domain name
We can complete the host name by a default domain name.But the default domain name is useful only when
there is no domain list.
In congure use the following command
Command Function
ip domain name
name
Specify a default domain name.
no ip domain
name
Delete the default domain name.
64.3.4 Define a list of domains
The DNS Resolver completes a host name by the domain list, it can try the domain list in turn until it find the
host or all the domain lists are tried. The domain name will not be used if a domain list exists. We can set six
domain lists at most.
In congure use the following command:
Command Function
ip domain list
name
Define a domain list.
no ip domain list
name
Delete a domain list.
Notes:
no ip domain list name Express delete a domain name named name.
no ip domain list Express delete all the domain names.