nslookup.1 (2010 09)

n
nslookup(1) nslookup(1)
(BIND 9.3)
IN The Internet class.
CHAOS The Chaosnet class.
HESIOD The MIT Athena Hesiod class.
ANY Wildcard (any of the above).
The class specifies the protocol group of the information. The default is
class=IN.
[
no]d2 Turn on [turn off] exhaustive debugging mode. Essentially all fields of every packet are
printed. The default is nod2.
[
no]deb[ug] Turn on [turn off] debugging mode. More information is printed about the packet sent to
the server and the resulting answer. The default is
nodebug.
[
no]def[name]
Append [do not append] the default domain name to a single-component lookup request
(that is, one that does not contain a period character). The default is
defname.
do[main]=name
Change the default domain name to name. The default domain name is appended to a
lookup request, depending on the state of the
defname and search options. The
domain search list contains the parents of the default domain if it has at least two com-
ponents in its name. For example, if the default domain is
CC.Berkeley.EDU
, the
search list is
CC.Berkeley.EDU
and Berkeley.EDU. Use the set srchlist com-
mand to specify a different list. Use the
set all command to display the list. The
default is the value from host name, /etc/resolv.conf
,ortheLOCALDOMAIN
environment variable.
[
no]ig[nore] Ignore [do not ignore] truncation errors. The default is
noignore.
po[rt]=value Change the default TCP/UDP name server port to value . The default is
port=53.
q[uerytype]=value
ty[pe]=value
Change the type of information returned from a query to one of:
A Hosts IPv4 address
AAAA Hosts IPv6 address
ANY All types of data
CNAME Canonical name for an alias
GID Group ID
HINFO Host CPU and operating system type
MB Mailbox domain name
MG Mail group member
MINFO Mailbox or mail list information
MR Mail rename domain name
MX Mail exchanger
NS Name server for the named zone
PTR Host name if the query is an Internet address, otherwise the pointer to other
information.
SOA Start of authority record
TXT Text information
UID User ID
UINFO User information
WKS Well-known service description
[
no]rec[urse]
Tell the name server to query [not to query] other servers if it does not have the informa-
tion. The default is recurse.
4 Hewlett-Packard Company 4 HP-UX 11i Version 3: September 2010