DNS C
OMMANDS
4-179
with dotted notation). Use the no form to remove the current domain
name.
Syntax
ip domain-name name
no ip domain-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
Example
Related Commands
ip domain-list (3-179)
ip name-server (3-181)
ip domain-lookup (3-182)

ip domain-list

This command defines a list of domain names that can be appende d to
incomplete host names (i.e., host names passed from a client that are not
formatted with dotted notation). Use the no f orm to remove a name from
this list.
Console(config)#ip domain-name sample.com
Console(config)#end
Console#show dns
Domain Lookup Status:
DNS disabled
Default Domain Name:
.sample.com
Domain Name List:
Name Server List:
Console#