Technical data

Configuring and Managing BIND
5.7 Configuring the BIND Resolver
Note
When you execute TCPIP$CONFIG.COM after upgrading from
UCX to TCP/IP Services for OpenVMS, the system creates a
domain search list that is consistent with the UCX default lookup
behavior. TCPIP$CONFIG.COM uses the default domain to create
a search list consisting of each parent domain. For example, if
the default domain is
ucx.ern.sea.com
, the resulting search list is
ucx.ern.sea.com,ern.sea.com,sea.com
. You can modify the current
search list by using the SET CONFIGURATION NAME_SERVER /PATH
command.
5.8 Using NSLOOKUP to Query a Name Server
NSLOOKUP is a debugging tool provided with BIND that allows anyone to
directly query a name server and retrieve information. Use NSLOOKUP to
determine whether your local name server is running correctly or to retrieve
information from remote servers.
NSLOOKUP makes direct queries to name servers around the world to obtain
DNS information, which includes:
Host names and addresses on the local domain
Host names and addresses on remote domains
Host names that serve as mail exchange (MX records)
Name servers for a specific zone
5.8.1 Invoking NSLOOKUP
Table 5–12 shows how to start and stop NSLOOKUP.
Table 5–12 Starting and Stopping NSLOOKUP
Task Command
Run NSLOOKUP.
$ RUN SYS$SYSTEM:TCPIP$NSLOOKUP.EXE
Terminate NSLOOKUP from
within interactive mode.
> EXIT
Terminate the current
NSLOOKUP session.
> Ctrl/Z
To run NSLOOKUP as a foreign command, enter the following command at the
DCL prompt ($), or place the command in your LOGIN.COM file:
$ NSLOOKUP :== SYS$SYSTEM:TCPIP$NSLOOKUP.EXE
You can then run an interactive NSLOOKUP session by entering:
$ NSLOOKUP
>
You can put NSLOOKUP
set
commands in an initialization file named
SYS$LOGIN:NSLOOKUPINIT.INI. The commands are executed when you
start NSLOOKUP.
Configuring and Managing BIND 5–37