Management and Configuration Guide K/KA/KB.15.15

Figure 238 Example using the fully qualified domain name for an accessible target
in another domain
Configuring and using DNS resolution with DNS-compatible commands
(At software release K.13.01, the DNS-compatible commands include ping and traceroute.)
1. Determine the following:
The IP address for a DNS server operating in a domain in your network.
The priority (1 to 3) of the selected server, relative to other DNS servers in the domain.
The domain name for an accessible domain in which there are hosts you want to reach
with a DNS-compatible command. (This is the domain suffix in the fully qualified domain
name for a given host operating in the selected domain. See “DNS resolver operation
(page 445).) Note that if a domain suffix is not configured, fully qualified domain names
can be used to resolve DNS-compatible commands.
The host names assigned to target IP addresses in the DNS server for the specified domain.
2. Use the data from the first three bullets in step1 to configure the DNS entry on the switch.
3. Use a DNS-compatible command with the host name to reach the target devices.
Configuring a DNS entry
The switch allows up to two DNS server entries (IP addresses for DNS servers.) One domain suffix
can also be configured to support resolution of DNS names in that domain by using a host name
only. Including the domain suffix enables the use of DNS-compatible commands with a target's
host name instead of the target's fully qualified domain name.
Syntax
[ no ] ip dns server-address priority 1 - 3 ip-addr
Configures the access priority and IP address of a DNS server accessible to the
switch. These settings specify:
The relative priority of the DNS server when multiple servers are configured
The IP address of the DNS server
These settings must be configured before a DNS-compatible command can be
executed with host name criteria.
The switch supports two prioritized DNS server entries. Configuring another IP
address for a priority that has already been assigned to an IP address is not allowed.
To replace one IP address at a given priority level with another address having the
same priority, you must first use the no form of the command to remove the unwanted
address. Also, only one instance of a given server address is allowed in the server
list. Attempting to enter a duplicate of an existing entry at a different priority level
is not allowed .
To change the priority of an existing server address, use the no form of the command
to remove the entry, then re-enter the address with the new priority.
446 Troubleshooting