![background image](http://html1.mh-extra.com/html/smc-networks/8708l2/8708l2_management-manual_1300245577.webp)
DNS C
OMMANDS
4-287
ip domain-name
This command defines the default domain name appended to incomplete
host names (i.e., host names passed from a client that are not formatted
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 (4-288)
ip name-server (4-289)
ip domain-lookup (4-290)
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#
Summary of Contents for 8708L2
Page 2: ......
Page 24: ...TABLES xxiv ...
Page 28: ...FIGURES xxviii ...
Page 290: ...CONFIGURING THE SWITCH 3 238 ...
Page 584: ...COMMAND LINE INTERFACE 4 294 ...
Page 592: ...TROUBLESHOOTING B 4 ...
Page 605: ......