ip domain-name

To define a default domain name that the Cisco CDA server uses to complete hostnames, use the ip domain-name command in Configuration mode. To disable this function, use the no form of this command.

ip domain-name word

Syntax Description

ip domain-name

The command to define a default domain name.

word

Default domain name used to complete the hostnames. Contains at least 2 to 64 alphanumeric characters.

Defaults

Enabled.

Command Modes

Configuration

Usage Guidelines

If you enter more or fewer arguments, an error occurs.

Examples

/admin(config)# ip domain-name cisco.com

/admin(config)#

Related Commands

Command

Description

ip name-server

Sets the DNS servers for use during a DNS query.