Lantronix
ION x6010 User Guide
33493 Rev. F
Page 227 of 261
Nslookup
nslookup
is a computer program used in Windows and Unix to query DNS (Domain Name System)
servers to find DNS details, including IP addresses of a particular computer, MX records for a domain
and the NS servers of a domain. The name nslookup means “name server lookup”. A common version of
the program is included as part of the BIND package.
Microsoft Windows 2000 Server, Windows 2000 Advanced Server, and Windows NT Server 4.0 Standard
Edition provide the
nslookup
tool.
Windows’ nslookup.exe is a command-line administrative tool for testing and troubleshooting DNS
servers. This tool is installed along with the TCP/IP protocol through the Control Panel.
Nslookup.exe
can be run in two modes: interactive and noninteractive. Noninteractive mode is used
when just a single piece of data is needed.
1.
The syntax for noninteractive mode is:
nslookup [-option] [hostname] [server]
2.
To start Nslookup.exe in interactive mode, simply type “
nslookup
” at the command prompt:
C:\> nslookup
Default Server: nameserver1.domain.com
Address: 10.0.0.1
3.
Type “
help
” or “
?
” at the command prompt to generate a list of available commands.
Notes
:
•
The TCP/IP protocol must be installed on the computer running Nslookup.exe.
•
At least one DNS server must be specified when you run the IPCONFIG /ALL command from a
command prompt.
•
Nslookup will always devolve the name from the current context. If you fail to fully qualify a name
query (i.e., use a trailing dot), the query will be appended to the current context. For example, if the
current DNS settings are att.com and a query is performed on
; the first query
will go out as
www.microsoft.com.att.com
because of the query being unqualified. This behavior
may be inconsistent with other vendor’s versions of Nslookup.