Technical data

Configuring and Managing BIND
5.8 Using NSLOOKUP to Query a Name Server
Table 5–14 (Cont.) Options to the NSLOOKUP
set
Command
Option Function
timeout
Length of time (in seconds) to wait for a reply from each attempt. For
example:
> set timeout=9
root=value
Changes the root server. For example, the following command changes
the root server to
ns.nasa.gov
.
> set root=ns.nasa.gov
ignoretc
Tells NSLOOKUP to ignore packet truncation errors. For example:
> set ignoretc
domain name
Changes the default domain to the domain you specify.
How the default domain name is appended to lookup requests depends
on the settings of the
defname
and
search
options. The domain
search list contains the parents of the default domain if it has at least
two components in its name.
The default value is set in the TCP/IP configuration database. To
specify the default, type the abbreviation
do
.
For example, if the default domain is
CC.Berkeley.EDU
, the search
list is
CC.Berkeley.EDU
and
Berkeley.EDU
.
srchlist
If set, NSLOOKUP appends each of the domain names specified in the
srchlist
option to an unqualified host name and performs a query
until an answer is received.
srchlist=names
Changes the default domain name to the first name you specify and the
domain search list to all the names you specify. Specify a maximum of
six names separated by slashes (/).
In the following example, the command sets the default domain to
lcs.MIT.EDU
and the search list to the three specified domains. The
command overrides the default domain name and associated search list
for the
set domain
command.
> set srchlist=lcs.MIT.EDU/ai.MIT.EDU/MIT.EDU
The default is the domain name specified in the TCP/IP configuration
database. The abbreviated form of the command is
srchl
.
[no]defname
Tells NSLOOKUP to append a default domain name to a not fully
qualified
1
DNS name lookup request. The abbreviated form is
[no]def
.
For example, an NSLOOKUP query for the host
rainy
becomes
rainy.cc.berkeley.edu
.
[no]search
Tells NSLOOKUP to append the domain names in the search list to
a not fully qualified domain name
1
lookup request. The default is
search
. The abbreviated form is
[no]sea
.
1
A fully qualified domain name is a name that ends with a trailing period, as in host.domain.
5–42 Configuring and Managing BIND