When using the nslookup command, what kind of query takes an ip address and returns a domain name?

nslookup

When using the nslookup command, what kind of query takes an ip address and returns a domain name?

The nslookup command

Developer(s)Internet Systems Consortium, Andrew Cherenson, IBM, Microsoft, Lucas Suggs
Operating systemUnix, Unix-like, OS/2, Microsoft Windows, ReactOS
PlatformCross-platform
TypeCommand
LicenseMicrosoft 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[edit]

nslookup was a member of the BIND name server software. Early[when?] 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[1] 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 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.[2]

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

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

Usage[edit]

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.[5]

See also[edit]

  • dig, a utility interrogates DNS servers directly for troubleshooting and system administration purposes.
  • host is a simple utility for performing Domain Name System lookups.
  • List of DNS record types - possible types of records stored and queried within DNS
  • Root name server - top-level name servers providing top level domain name resolution
  • whois
  • BIND name server

References[edit]

  1. ^ "BIND 9.3.0 is now available". Isc.org. 2004-09-23. Retrieved 2015-01-13.
  2. ^ "DNS and BIND, Fourth Edition: Chapter 12. nslookup and dig". O'Reilly. Retrieved 20 July 2010.
  3. ^ "nslookup(1) - Linux man page". linux.die.net.
  4. ^ "reactos/reactos". GitHub. 3 January 2022.
  5. ^ "pSeries and AIX Information Center". Publib.boulder.ibm.com. Archived from the original on 2013-01-03. Retrieved 2012-09-05.

Further reading[edit]

  • Barrett, Daniel J. (2012). Macintosh Terminal Pocket Guide: Take Command of Your Mac. O'Reilly. ISBN 978-1449328986.
  • Stanek, William R. (2008). Windows Command-Line Administrator's Pocket Consultant, 2nd Edition. Microsoft Press. ISBN 978-0735622623.

When using the nslookup command, what kind of query takes an ip address and returns a domain name?

Wikiversity has learning resources about Nslookup

  • Microsoft Windows
    • nslookup – Microsoft TechNet library
    • Using NSlookup.exe, Microsoft Knowledge Base
  • Unix-like OSs
    • nslookup(1) – Linux User Commands Manual
    • nslookup source code in ISC Gitlab repository (Mozilla Public License)

What type of query does nslookup do for a domain?

nslookup sends a domain name query packet to a designated (or defaulted) domain name system server. Depending on the system being used, the default may be the local DNS server at the service provider, some intermediate name server or the root server system for the entire domain name system hierarchy.

How do you nslookup an IP address?

How To Find IP Address Of a Domain Using NSLookup Command In Windows.
Click on Start button and type cmd in the search box. ... .
Windows command prompt will open. ... .
It will show you Yahoo FTP IP address. ... .
If you want to look up IP address of a website then type nslookup in the command prompt and press enter..

What does the nslookup command return?

If the host is an Internet address and the query type is A or PTR, the nslookup command returns the name of the host. If the host is a name and does not have a trailing period, the search list is used to qualify the name. To look up a host not in the current domain, append a period to the name.

Which command is used to query DNS to get mapping information about the domain name and IP address?

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.