Nortel Networks 2300 Switch User Manual


 
Configuring and managing IP interfaces and services 137
Nortel WLAN—Security Switch 2300 Series Configuration Guide
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” (page 137).)
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
Displaying DNS server information
To display DNS server information, use the following command:
show ip dns
The following example shows DNS server information on a WSS configured to use three DNS servers.
WSS# show ip dns
Domain Name: example.com
DNS Status: enabled
IP Address Type
-----------------------------------
10.1.1.1 PRIMARY
10.1.1.2 SECONDARY
10.1.2.1 SECONDARY
(For information about the fields in the output, see the Nortel WLAN Security Switch 2300 Series Command
Line Reference.)
Configuring and managing aliases
An alias is a string that represents an IP address. You can use aliases as shortcuts in CLI commands. For
example, you can configure alias pubs1 for IP address 10.10.10.20, and enter ping pubs1 as a shortcut for
ping 10.10.10.20.