This optional DNS command configures the domain suffix that is automatically appended to the host name
entered with a DNS-compatible command. When the domain suffix and the IP address for a DNS server that can
access that domain are both configured on the switch, you can execute a DNS-compatible command using only
the host name of the desired target. (For an Example:, see
Example: of using either a host name or a fully
.) In either of the following two instances, you must manually provide the domain
identification by using a fully qualified DNS name with a DNS-compatible command:
• If the DNS server IP address is configured on the switch, but the domain suffix is not configured (null).
• The domain suffix configured on the switch is not the domain in which the target host exists.
The switch supports one domain suffix entry and three DNS server IP address entries. (See the preceding
command description.)
The
no
form of the command replaces the configured domain suffix with the null setting. (Default: null)
Using DNS names with ping and traceroute: Example:
In the network illustrated in
Figure 99: Example: network domain
on page 547, the switch at 10.28.192.1 is
configured to use DNS names for DNS-compatible commands in the
pubs.outdoors.com
domain. The DNS
server has been configured to assign the host name
docservr
to the IP address used by the document server
(10.28.229.219).
Figure 99: Example: network domain
Configuring switch "A" with the domain name and the IP address of a DNS server for the domain enables the
switch to use host names assigned to IP addresses in the domain to perform
ping
and
traceroute
actions on
the devices in the domain. To summarize:
Entity
Identity
DNS server IP address
10.28.229.10
Domain name (and domain suffix for hosts in the
domain)
pubs.outdoors.com
Host name assigned to 10.28.229.219 by the DNS
server
docservr
Fully qualified domain name for the IP address used by
the document server (10.28.229.219)
docservr.pubs.outdoors.com
Table Continued
Chapter 13 Troubleshooting
547