Installation and Getting Started Guide

HP9300(config)# ip dns domain-name newyork.com

HP9300(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 THE WEB MANAGEMENT INTERFACE

To map a domain name server to multiple IP addresses:

1.Log on to the device using a valid user name and password for read-write access. The System configuration panel is displayed.

2.Do one of the following:

On the HP 6208M-SX – Select the DNS link to display the DNS panel.

On a routing switch – Click on the plus sign next to Configure in the tree view, then click on the plus sign next to IP, then select DNS to display the DNS panel.

3.Enter the domain name in the Domain Name field.

4.Enter an IP address for each device that will serve as a gateway to the domain name server.

NOTE: The first address entered will be the primary DNS gateway address. The other addresses will be used in chronological order, left to right, if the primary address is available.

5.Click the Apply button to save the change to the device’s running-config file.

6.Select the Save link at the bottom of the dialog. Select Yes when prompted to save the configuration change to the startup-config file on the device’s flash memory.

Using a DNS Name To Initiate a Trace Route

Suppose you want to trace the route from a routing switch to a remote server identified as NYC02 on domain newyork.com. Because the newyork.com domain is already defined on the routing switch, you need to enter only the host name, NYC02, as noted below.

USING THE CLI

HP9300# 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. See the Command Line Interface Reference for information about the parameters.

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:

Type Control-c to abort

Sending DNS Query to 209.157.22.199

Tracing Route to IP node 209.157.22.80

To ABORT Trace Route, Please

use stop-traceroute

command.

Traced route to target IP node 209.157.22.80:

 

IP Address

Round

Trip Time1

Round

Trip Time2

207.95.6.30

93 msec

 

121 msec

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.

6 - 22