User`s manual
101
DWS-1008 User’s Manual
D-Link Systems, Inc.
Conguring and Managing IP Interfaces and Services
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 switch congured to use three
DNS servers.
DWS-1008# 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
Conguring 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 congure alias pubs1 for IP address 10.10.10.20, and
enter ping pubs1 as a shortcut for ping 10.10.10.20.
Aliases take precedence over DNS. When you enter a hostname, MSS checks for an alias
with that name rst, before using DNS to resolve the name.