set ip dns domain

Use this command to configure the DNS domain name.

Syntax

set ip dns domain name

Parameters

name Specifies the DNS domain name where the device is located.

Defaults

None.

Mode

All command modes.

Usage

If the domain name is not set, all address lookups must provide fully qualified domains.

A “name” (Net, Host, Gateway, or Domain name) is a text string up to 24 characters drawn from the alphabet (A-Z), digits (0-9), minus sign (-), and period (.). Note that periods are only allowed when they serve to delimit components of “domain style names”. No blank or space characters are permitted as part of a name. No distinction is made between upper and lower case. The first character must be an alpha character. The last character must not be a minus sign or period. A host which serves as a GATEWAY should have “-GATEWAY” or “-GW” as part of its name. Hosts which do not serve as Internet gateways should not use “-GATEWAY” or “-GW” as part of their names. A host which is a TAC should have “-TAC” as the last part of its host name, if it is a DoD host. Single character names or nicknames are not allowed.

Example

This example sets the DNS domain name to Enterprise-Services.Support:

System(rw)->set ip dns domain Enterprise-Services.Support
System(rw)->