170 Configuring and managing IP interfaces and services
NN47250-500 (Version 03.01)

Configuring a default domain name

You can configure a single default domain name for DNS queries. The WSS appends the default domain name
to hostnames you enter in commands. For example, you can configure the WSS to automatically append the
domain name example.com to any hostname that does not have a domain name. In this case, you can enter
ping chris instead of ping chris.example.com, and the WSS automatically requests the DNS server to send
the IP address for chris.example.com.
To override the default domain name when entering a hostname in a CLI command, enter a period at the end
of the hostname. For example, if the default domain name is example.com, enter chris. if the hostname is chris
and not chris.example.com.
Aliases take precedence over DNS. When you enter a hostname, WSS Software checks for an alias with that
name first, before using DNS to resolve the name. (For information about aliases, see “Configuring and
managing aliases” on page 171.)

Adding the default domain name

To add the default domain name, use the following command:
set ip dns domain name
Specify a domain name of up to 64 alphanumeric characters.

Removing the default domain name

To remove the default domain name, use the following command:
clear ip dns domain