Example Using Dns Names With Ping And Traceroute - HP PROCURVE 2520 Management And Configuration Manual

Hewlett-packard switch user manual
Hide thumbs Also See for PROCURVE 2520:
Table of Contents

Advertisement

Syntax: [no] ip dns domain-name < domain-name-suffix >

Example Using DNS Names with Ping and Traceroute

In the network illustrated in Figure C-29, the switch at 10.28.192.1 is config­
ured to use DNS names for DNS-compatible commands in the
pubs.outdoors.com domain. The DNS server has been configured to assign the
host name docservr to the IP address used by the document server
(10.28.229.219).
Switch "A" Configured
with DNS Resolver
10.28.192.1
Domain: pubs.outdoors.com
Figure C-29. Example Network Domain
This optional DNS command configures the domain suffix that
is automatically appended to the host name entered with a
DNS-compatible command. When the domain suffix and the IP
address for a DNS server that can access that domain are both
configured on the switch, you can execute a DNS-compatible
command using only the host name of the desired target. (For
an example, refer to Figure C-27 on page C-72.) In either of the
following two instances, you must manually provide the
domain identification by using a fully qualified DNS name
with a DNS-compatible command:
• If the DNS server IP address is configured on the switch, but
the domain suffix is not configured (null)
• The domain suffix configured on the switch is not the
domain in which the target host exists
The switch supports one domain suffix entry and three DNS
server IP address entries. (Refer to the preceding command
description.)
The no form of the command replaces the configured domain
suffix with the null setting. (Default: null)
Router "B"
10.28.192.2
10.28.229.1
DNS Server for pubs.outdoors.com
10.28.229.10
Host Name for IP address
10.28.229.219 = "docservr"
Troubleshooting
DNS Resolver
Document
Server
docservr
(10.28.229.219)
C-75

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents