Dns sever list, Dns list, Default domain – Allied Telesis AT-8100 Series User Manual
Page 359: Dns sever list dns list default domain
AT-8100 Switch Command Line User’s Guide
359
DNS Sever List
The DNS server list is a set of DNS servers that a DNS client on the switch
sends a request to. When you enter a domain name in the CLI as a part of
the command, for example,
ping www.alliedtelesis.com
, the DNS
client on the switch sends a DNS query to DNS servers on the DNS server
list to resolve the host name. To use domain names instead of IP
addresses on the switch, you must have at least one server on the DNS
server list. You can add a DNS server using the IP NAME-SERVER
command.
DNS List
You add top-level domains, such as “com” and “net” to the DNS list. The
switch appends a domain to incomplete host names in DNS requests.
Each domain in the DNS list is tried in DNS lookups. For example, when
you use the
ping alliedtelesis
command, the switch sends a DNS
request for “alliedtelesis.com.” When no match is found, the switch tries
“alliedtelesis.net.” You can create the DNS list using the IP DOMAIN-LIST
command.
Default Domain
The switch can have one default domain. The switch allows you to save
typing of a domain in the CLI by setting a default domain. Once you set a
default domain for the DNS, the DNS client appends this domain to
incomplete host names in DNS requests. For example, you set
“alliedtelesis.com” as a default domain. When you type the command
ping
host2
in the CLI, the switch sends a DNS request for
“host2.alliedtelesis.com.”
If a domain exists in the DNS list, the switch does not use the default
domain. The switch uses the default domain only when no domains are
specified in the DNS list.