2-308
Catalyst 6500 Series Switch Command Reference—Release8.1
78-15474-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands set ip dns domain
set ip dns domain
To set the default DNS domain name, use the set ip dns domain command.
set ip dns domain name
Syntax Description
Defaults This command has no default settings.
Command Types Switch command.
Command Modes Privileged.
Usage Guidelines 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 t he hos t name as e nte re d, it ap pe nds t he de fa ult DNS do mai n n ame
as defined with the set ip dns domain command. If you specify a domain name with a trailing dot, the
program considers this to be an absolute domain name.
Examples This example shows how to set the default DNS domain name:
Console> (enable) set ip dns domain yow.com
DNS domain name set to yow.com.
Console> (enable)
Related Commands clear ip dns domain
show ip dns
name DNS domain name.