In this example, the rst IP address entered becomes the primary DNS 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.
Conguring DNS domain list on a Brocade device
If you want to use more than one domain name to resolve host names, you can create a list of domain names. Use the ip dns domain-
list command to create a domain list.
device(config)# ip dns domain-list mycompany.com
device(config)# ip dns domain-list ds.company.com
device(config)# ip dns domain-list hw_company.com
device(config)# ip dns domain-list qa_company.com
The domain names are tried in the order you enter them.
Using a DNS name to initiate a trace route
Suppose you want to trace the route from a Brocade Layer 3 switch to a remote server
identied as NYC02 on domain newyork.com.
Because the NYC02@ds1.newyork.com domain is already dened on the Layer 3 switch, you need to enter only the host name,
NYC02, as noted in the following example.
device# traceroute nyc02
The only required parameter is the IP address of the host at the other end of the route.
After you enter the traceroute 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. When traceroute fails, an error occurs as shown in the last two
lines in the following example.
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
Trace route to target IP node 10.157.22.80 failed.
IP: Errno(9) No response from target or intermediate node
NOTE
In the example, 10.157.22.199 is the IP address of the domain name server (default DNS gateway address), and
10.157.22.80 represents the IP address of the NYC02 host.
Displaying DNS conguration
Use the following show commands to display the DNS conguration-related information.
1. Use the show running-conguration command to display the congured DNS server address and domain list in running
conguration.
device# show running-configuration
ip dns domain-list 2222
ip dns server-address 10.157.22.199 10.96.7.15 10.95.7.25 10.98.7.15
Conguring IP parameters - Layer 3 switches
FastIron Ethernet Switch Layer 3 Routing
44 53-1003627-04