132Configuring and Managing IP Interfaces and Services

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 133.)

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

320657-A

Page 132
Image 132
Nortel Networks 2300 Configuring a Default Domain Name, Adding the Default Domain Name, Removing the Default Domain Name