nslookup.1 (2010 09)

n
nslookup(1) nslookup(1)
(BIND 9.3)
ret[ry]=number
Set the number of retries to number. When a reply to a request is not received within a
certain amount of time (changed with the set timeout
command ), the timeout period
is doubled and the request is resent. The retry value controls how many times a request
is resent before giving up. The default is
retry=4.
ro[ot]=host Change the name of the root server to host . This affects the
root command. The
default is
root=ns.nic.ddn.mil
.
[
no]sea[rch] If the lookup request contains at least one period but doesn’t end with a trailing period,
append [do not append] the domain names in the domain search list to the request until
an answer is received. See hostname (5). The default is
search.
srchl[ist]=name1[/
name2]...
Change the default domain name to name1 and the domain search list to name1, name2,
and so on. A maximum of 6 names separated by slashes (
/) can be specified. For exam-
ple,
set srchlist=lcs.MIT.EDU/ai.MIT.EDU/MIT.EDU
sets the domain to lcs.MIT.EDU and the search list to the three names. This command
overrides the default domain name and search list of the
set domain command. Use
the
set all command to display the list. The default is a value based on the host
name, /etc/resolv.conf
,ortheLOCALDOMAIN environment variable.
[
no]swtr[ace]
Display [do not display] information about the sources used for resolving a name or an
address lookup. This flag traces the behavior generated by the switch policy. The default
is noswtrace.
t[imeout]=number
Change the initial timeout interval for waiting for a reply to number seconds. Each retry
doubles the timeout period. The default is timeout=5.
ty[pe]=value See the querytype option.
[
no]v[c] Always use [do not use] a virtual circuit when sending requests to the server. The
default is novc.
DIAGNOSTICS
If the lookup request was not successful, an error message is printed. Possible error messages are:
Connection refused
The connection to the name server could not be made at the present time.
Format error
The name server found that the request packet was not in the proper format.
Network is unreachable
The connection to the name server could not be made at the present time.
No records
The server does not have resource records of the current query type for the host, although the
host name is valid. The query type is specified with the set querytype command.
No response from server
No name server is running on the server machine.
Non-existent domain
The host or domain name does not exist.
Refused The name server refused to service the request.
Server failure
The name server found an internal inconsistency in its database and could not return a valid
answer.
Time-out
The server did not respond to a request after a certain amount of time (changed with set
timeout=value ) and a certain number of retries (changed with set retry=value ).
HP-UX 11i Version 3: September 2010 5 Hewlett-Packard Company 5