Using a dns name to initiate a trace route, Defining a domain name, Defining dns servers – Brocade Virtual ADX Switch and Router Guide (Supporting ADX v03.1.00) User Manual

Page 74

Advertising
background image

60

Brocade Virtual ADX Switch and Router Guide

53-1003246-01

Configuring IP parameters

4

Using a DNS name to initiate a trace route

Suppose you want to trace the route from a Virtual ADX to a remote server identified as EX02 on
domain example1.com. Because the example1.com domain is already defined on the Layer 3
Switch, you need to enter only the host name, EX02, as noted below.

Virtual ADX# traceroute ex02

Syntax: traceroute host-ip-addr [maxttl value] [minttl value] [numeric] [timeout value]

[source-ip ip addr]

The only required parameter is the IP address of the host at the other end of the route.

After you enter the command, a message indicating that the DNS query is in process and the
current gateway address (IP address of the domain name server) being queried appear on the
screen.

NOTE

In the above example, 10.157.22.199 is the IP address of the domain name server (default DNS
server address), and 10.157.22.80 represents the IP address of the EX02 host.

NOTE

Use an ICMP packet for a trace route to Virtual IP from a host. If you will do a trace route using UDP,
ADX will not respond a trace route with destination port unreachable.

Defining a domain name

If you want to define only one domain to resolve host names, enter a command such as the
following.

Virtual ADX(config)# ip dns domain-name eng.company.com

Syntax: [no] ip dns domain-name domain-name

Enter the domain name for domain-name.

This command is available on all Brocade devices.

Defining DNS servers

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

To define DNS servers, enter a command such as the following.

Type Control-c to abort

Sending DNS Query to 10.157.22.199

Tracing Route to IP node 10.157.22.80

To ABORT Trace Route, Please use stop-traceroute command.

Traced route to target IP node 10.157.22.80:

IP Address Round Trip Time1 Round Trip Time2

10.95.6.30 93 msec 121 msec

Advertising