IP Addressing Commands 213
ip domain-name
The ip domain-name Global Configuration mode command defines a default domain name, that the
software uses to complete unqualified host names (names without a dotted-decimal domain name). Use
the no form of this command to disable use of the Domain Name System (DNS).
Syntax
•
ip domain-name
name
• no ip domain-name
•
name —
Default domain name used to complete unqualified host names. Do not include the
initial period that separates an unqualified name from the domain name. (Range: 1 - 158
characters)
Default Configuration
This command has no default configuration.
Command Mode
Global Configuration mode.
User Guidelines
• There are no user guidelines for this command.
Examples
The following example defines a default domain name of www.dell.com.
ip name-server
The ip name-server Global Configuration mode command sets the available name servers. Use the no
form of this command to remove a name server.
Syntax
•
ip name-server
server-address
[
server-address2 … server-address8
]
•
no ip name-server
[
server-address1 … server-address8
]
•
server-address —
IP addresses of the name server. Up to 8 servers can be defined in one command
or by using multiple commands.
Default Configuration
No name server addresses are specified.
Console (config)# ip domain-name www.dell.com
5400_CLI.book Page 213 Wednesday, December 17, 2008 4:33 PM