Technical data

nslookup
Table A–2 (Cont.) Options to the
nslookup set
Command
Keyword Function
[no]debug
Turns on debugging (default is
nodebug
).
nslookup
displays
detailed information about the packet sent to the server and the
answer. For example:
> set debug
You can use the abbreviations
nodeb
and
deb
.
[no]d2
Returns all-inclusive debugging information (default is
nod2
).
Displays all the fields of every packet. For example:
> set d2
recurse
Tells the BIND server to contact other servers if it does not have
the information you want. The servers carry out a complete
(recursive) resolution for each query. For example:
> set recurse
retry
Number of times that
nslookup
attempts to contact a BIND
server if repeated tries fail. For example:
> set retry=8
timeout
Length of time 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.
The settings of the
defname
and
search
options control how
the default domain name is appended to lookup requests. The
domain search list contains the parents of the default domain if
the default domain 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.
(continued on next page)
Troubleshooting Utilities Reference A–25