Defining an ipv4 dns entry, Dns queries of ipv4 and ipv6 dns servers, Using a dns name to initiate a trace route – Brocade Multi-Service IronWare Switching Configuration Guide (Supporting R05.6.00) User Manual

Page 769

Advertising
background image

Multi-Service IronWare Switching Configuration Guide

739

53-1003036-02

Configuring IP parameters

19

For example, if the domain “newyork.com” is defined on a Brocade device and you want to initiate a
ping to host “NYC01” on that domain, you need to reference only the host name in the command
instead of the host name and its domain name. For example, you could enter either of the following
commands to initiate the ping.

Brocade# ping nyc01

Brocade# ping nyc01.newyork.com

Multiple DNS queries can be executed simultaneously, making it possible for the Brocade device to
run multiple simultaneous Telnet, ping or traceroute commands using host names.

Defining an IPv4 DNS entry

You can define up to four DNS servers for each DNS entry. The first entry serves as the primary
default address. If a query to the primary address fails to be resolved after three attempts, the next
gateway address is queried (also up to three times). This process continues for each defined
gateway address until the query is resolved. The order in which the default gateway addresses are
polled is the same as the order in which you enter them.

Suppose you want to define the domain name of abc.com on a device and then define four
possible default DNS gateway addresses. To do so using IPv4 addressing, you would enter the
following commands.

Brocade(config)# ip dns domain-name abc.com

Brocade(config)# ip dns server-address 10.157.22.199 10.96.7.15 10.95.7.25

10.98.7.15

Syntax: [no] ip dns server-address ip-addr [ip-addr] [ip-addr] [ip-addr]

In this example, the first IP address in the ip dns server-address... command becomes the primary
gateway address and all others are secondary addresses. Because IP address 10.98.7.15 is the
last address listed, it is also the last address consulted to resolve a query.

DNS queries of IPv4 and IPv6 DNS servers

IPv4 and IPv6 DNS record queries search through IPv4 and IPv6 DNS servers as described in the
following:

For IPv4 DNS record queries:

Loop thru all configured IPv4 DNS servers,

If no IPv4 DNS servers were configured, then loop through all configured IPv6 DNS servers (if
any).

For IPv6 DNS record queries:

Loop thru all configured IPv6 DNS servers,

If no IPv6 DNS servers were configured, then loop through all configured IPv4 DNS servers (if
any).

Using a DNS name to initiate a trace route

Suppose you want to trace the route from a Brocade device to a remote server identified as NYC02
on domain newyork.com.

FIGURE 192

Querying a host on the newyork.com domain

Advertising