Diagnostic utility that displays information stored in DNS servers.
nslookup has two modes of operation:
In this mode, an
nslookup shell is opened so that
any sequence of
nslookup commands can be run one
at a time. Enter interactive mode by typing:
In this mode, only a single
nslookup command is
run, after which you return to the command prompt. The syntax is:
command host DNSserver
One of the
nslookup commands in the following
list. The hyphen is part of the syntax.
The IP address or hostname of the host whose DNS information you want
to obtain from the DNS server. If you use a hyphen, the prompt
nslookup interactive mode.
The IP address or hostname of the DNS server you want to query. (If omitted, the default DNS server for the local machine is used.)
Quits the interactive mode of
Fingers the current computer for a list of currently logged-on users. If you specify username, then the information for that user is obtained.
Lists (or redirects to a file) different subsets of resource records for the specified DNS domain depending on the option selected, specifically:
Lists all records of the specified type (see Table 5-22)
Lists aliases of hosts in the DNS domain (same result as using
Lists all records for the DNS domain (same result as using
Lists operating-system information ...