Management and Configuration Guide K/KA/KB.15.15

The no form of the command replaces the configured IP address with the null setting.
(Default: null)
Syntax
[ no ]ip dns domain-name domain-name-suffix
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 Figure 237
(page 445).) 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 sthe 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
In the network illustrated in Figure 239 (page 447), 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 239 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:
IdentityEntity
10.28.229.10DNS server IP address
pubs.outdoors.comDomain name (and domain suffix for hosts in the domain)
docservrHost name assigned to 10.28.229.219 by the DNS server
docservr.pubs.outdoors.comFully qualified domain name for the IP address used by the
document server (10.28.229.219)
DNS resolver 447