Adding a domain to the dns list, Show ip domain-name command display, Show hosts command display – Allied Telesis AT-8100 Series User Manual
Page 362
Chapter 17: Domain Name System (DNS)
362
Adding a Domain to the DNS List
The switch allows you to create a list of domains to save typing the portion
of a domain name on the CLI. Once you add domains to the DNS list, the
switch appends a domain name to incomplete host names in DNS
requests. Each domain in the DNS list is tried in DNS lookups. The first
entry added to the DNS list is checked first. Then the second DNS list
entry is checked and so forth.
For example, to add the top-level domains “.com” and “.net” to the DNS
list, use the following commands:
awplus(config)# ip domain-list com
awplus(config)# ip domain-list net
If you enter the command
ping alliedtelesis
, the switch sends a DNS
request for “alliedtelesis.com.” When no match was found, the switch tries
“alliedtelesis.net.”
To view the entries in the DNS list, use the command:
awplus# show ip domain-name
Here is an example of the information the command displays.
Figure 83. SHOW IP DOMAIN-NAME Command Display
Also, the SHOW HOSTS command displays the default domain name, a
list of DNS domain names, and a list of DNS servers:
awplus# show hosts
Here is an example of the information the command displays.
Figure 84. SHOW HOSTS Command Display
DNS default domain: alliedtelesis.com
DNS domain list:
domain com
domain net
domain oh.us
DNS default domain: alliedtelesis.com
DNS domain list:
domain com
domain net
domain oh.us
DNS Name Servers:
192.168.1.85