3Com WX2200 3CRWX220095A Switch User Manual

Configuring a Default
Domain Name
You can configure a single default domain name for DNS queries. The
WX switch appends the default domain name to hostnames you enter in
commands. For example, you can configure the WX switch 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 WX switch 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, MSS
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 123.)
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:
display ip dns
The following example shows DNS server information on a WX switch
configured to use three DNS servers.
WX1200# display ip dns
Domain Name: example.com
DNS Status: enabled
IP Address Type
----------------------------------- PRIMARY SECONDARY SECONDARY
(For information about the fields in the output, see the Wireless LAN
Switch and Controller Command Reference.)