Nslookup Explained

nslookup
Developer:Internet Systems Consortium, Andrew Cherenson, IBM, Microsoft, Lucas Suggs
Operating System:Unix, Unix-like, OS/2, Microsoft Windows, ReactOS
Platform:Cross-platform
Genre:Command
License:Microsoft Windows, IBM OS/2: Proprietary commercial software
ReactOS: GNU General Public License

nslookup (from name server lookup) is a network administration command-line tool for querying the Domain Name System (DNS) to obtain the mapping between domain name and IP address, or other DNS records.

Overview

nslookup was a member of the BIND name server software. Andrew Cherenson created nslookup as a class project at UC Berkeley in 1986 and it first shipped in 4.3-Tahoe BSD[1] In the development of BIND 9, the Internet Systems Consortium planned to deprecate nslookup in favor of host and dig. This decision was reversed in 2004 with the release of BIND 9.3[2] and nslookup has been fully supported since then.

Unlike dig, nslookup does not use the operating system's local Domain Name System resolver library to perform its queries, and thus may behave differently. Additionally, vendor-provided versions may include the output of other sources of name information, such as host files, and Network Information Service. Some behaviors of nslookup may be modified by the contents of resolv.conf.[3]

The Linux version of nslookup was written by Andrew Cherenson.[4]

The ReactOS version was developed by Lucas Suggs and is licensed under the GPL.[5]

Usage

nslookup operates in interactive or non-interactive mode. When used interactively by invoking it without arguments or when the first argument is - (minus sign) and the second argument is a hostname or Internet address of a name server, the user issues parameter configurations or requests when presented with the nslookup prompt (>). When no arguments are given, then the command queries the default server. The - (minus sign) invokes subcommands which are specified on the command line and should precede nslookup commands. In non-interactive mode, i.e. when the first argument is a name or Internet address of the host being searched, parameters and the query are specified as command line arguments in the invocation of the program. The non interactive mode searches the information for a specified host using the default name server.[6]

See also

Further reading

External links

Microsoft Windows

Unix-like OSs

Notes and References

  1. Web site: 4.3BSD Manual.
  2. Web site: BIND 9.3.0 is now available. Isc.org. 2004-09-23. 2015-01-13.
  3. Web site: DNS and BIND, Fourth Edition: Chapter 12. nslookup and dig. O'Reilly. 20 July 2010.
  4. Web site: nslookup(1) - Linux man page. linux.die.net.
  5. Web site: reactos/reactos. GitHub. 3 January 2022.
  6. Web site: pSeries and AIX Information Center . https://archive.today/20130103083758/http://publib.boulder.ibm.com/infocenter/pseries/v5r3/index.jsp?topic=/com.ibm.aix.cmds/doc/aixcmds4/nslookup.htm . dead . 2013-01-03 . Publib.boulder.ibm.com . 2012-09-05 .