Command:

set ip dns domain

Mode:

Switch> (enable)


Syntax:

set ip dns domain name


Syntax Description:

name

Default DNS domain name

 


Command Description:

Use the set ip dns domain command to set the default DNS domain name.

If you specify a domain name on the command line, the system attempts to resolve the host name as entered. If the system cannot resolve the host name as entered, it appends the default DNS domain name as defined with the set ip dns domain command. If you specify a domain name with a trailing dot, the program considers this an absolute domain name.

 


Example:

This example shows how to set the default DNS domain name as yow.com:

Switch> (enable) set ip dns domain yow.com

Default DNS domain name set to yow.com.
Switch> (enable)

Misconceptions:
None

Related Commands:
set ip dns server

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

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