Technical data
nslookup
set keyword [=value]
Use the command to change state information that affects the lookups. Table A–2
lists the valid keywords.
Table A–2 Options to the
nslookup set
Command
Keyword Function
ALL
Displays the current values of the options you can set as well as
information about the current default server. For example:
> set all
class=value
Changes the query class to one of the following:
•
IN
— The internet class (default)
•
CHAOS
— The chaos class
•
ANY
— Wildcard
The class specifies the protocol group of the information. You
abbreviate this keyword to
cl
.
This command tells
nslookup
to resolve both
in
and
chaos
class queries (you can enter
in
and
chaos
):
> set class=ANY
querytype
Specifies the type of information you want. For example:
> set querytype=A
> set querytype=ANY
Valid types are:
SOA Start of authority. Marks the beginning of a zone’s
data and defines parameters that affect the entire
zone.
NS Name server. Identifies a domain’s name server.
A Address. Maps a host name to an address.
ANY Defines all available resource records for a given
name.
PTR Pointer. Maps an address to a host name.
MX Identifies where to deliver mail for a given domain.
CNAME Defines an alias host name.
HINFO Host information. Describes a host’s hardware and
operating system.
WKS Well-known service. Advertises network services.
(continued on next page)
A–24 Troubleshooting Utilities Reference