HP-UX Reference (11i v2 07/12) - 1 User Commands N-Z (vol 2)
n
nslookup(1) nslookup(1)
cl[ass]=value
Change the query class to one of:
IN the Internet class.
CHAOS the Chaos class.
HESIOD the MIT Athena Hesiod class.
ANY wildcard (any of the above).
The class specifies the protocol group of the information. (Default =
IN)
[
no]deb[ug] Turn debugging mode on. More information is printed about the packet
sent to the server and the resulting answer. (Default =
nodebug)
[
no]d2 Turn exhaustive debugging mode on. Essentially all fields of every packet
are printed. (Default = nod2)
[no]def[name]
If set, append the default domain name to a single-component lookup
request (that is, one that does not contain a period character). (Default =
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 components 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
command to specify a different list. Use the set all command to
display the list. (Default = value from hostname, /etc/resolv.conf
or LOCALDOMAIN )
[no]ig[nore] Ignore truncation errors. (Default =
noignore)
q[uerytype]=value
ty[pe]=value Change the type of information returned from a query to one of:
A Host’s IPv4 address
AAAA Host’s 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
102 Hewlett-Packard Company − 3 − HP-UX 11i Version 2: December 2007 Update