Command:

ip domain-name


Mode:

Router(config)#


Syntax:

ip domain-name name

no ip domain-name name


Syntax Description:

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.


Command Description:

To define a default domain name that the Cisco IOS software uses to complete unqualified host names (names without a dotted-decimal domain name), use the ip domain-name global configuration command. To disable use of the Domain Name System (DNS), use the no form of this command.

Any IP host name that does not contain a domain name (that is, any name without a dot) will have the dot and cisco.com appended to it before being added to the host table.


Example:

The following example defines cisco.com as the default domain name:

Router(config)#ip domain-name cisco.com

Misconceptions:
None

Related Commands:
ip domain-lookup

� Cisco Systems, Inc. 2001, 2002, 2003
World Wide Education

Converted from CHM to HTML with chm2web Pro 2.85 (unicode)