C
OMMAND
L
INE
I
NTERFACE
4-180
Syntax
[no] ip domain-list name
name - Name of the host. Do not include the initial dot that
separates the host name from the domain name.
(Range: 1-64 characters)
Default Setting
None
Command Mode
Global Configuration
Command Usage
• Domain nam es are added to the end of the list one at a time.
• When an inc omplete host name is received by the DNS server on this
switch, it will work through the domain list, appending each domain
name in the list to the host name, and checking with the specified name
servers for a match.
• If there is no domain list, the domain name specified with the ip
domain-name
command is used. If there is a domain list, the default
domain name is not used.
Example
This example adds two domain names to the current list and th en displays
the list.
Console(config)#ip domain-list sample.com.jp
Console(config)#ip domain-list sample.com.uk
Console(config)#end
Console#show dns
Domain Lookup Status:
DNS disabled
Default Domain Name:
.sample.com
Domain Name List:
.sample.com.jp
.sample.com.uk
Name Server List:
Console#