Quick Reference Guide

618 PowerConnect B-Series TI24X Configuration Guide
53-1002269-02
Configuring IP parameters – Layer 2 Switches
21
PowerConnect# ping nyc01
PowerConnect# ping nyc01.newyork.com
Defining a 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 newyork.com on a Layer 2 Switch and then define
four possible default DNS gateway addresses. To do so, enter the following commands.
PowerConnect(config)# ip dns domain-name newyork.com
PowerConnect(config)# ip dns server-address 209.157.22.199 205.96.7.15
208.95.7.25 201.98.7.15
Syntax: 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 201.98.7.15 is the
last address listed, it is also the last address consulted to resolve a query.
Using a DNS name To initiate a trace route
Example
Suppose you want to trace the route from a Layer 2 Switch to a remote server identified as NYC02
on domain newyork.com. Because the newyork.com domain is already defined on the Layer 2
Switch, you need to enter only the host name, NYC02, as noted below.
PowerConnect# traceroute nyc02
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, 209.157.22.199 is the IP address of the domain name server (default DNS
gateway address), and 209.157.22.80 represents the IP address of the NYC02 host.
FIGURE 101 Querying a Host on the newyork.com Domain