NsLookup Command For DNS Records

Sharing is caring!

The NsLookup tool allows you to query DNS servers for resource records.

Host:
Query Type:

How to Use the NsLookup

To use the NsLookup tool, you’ll need to provide the following:

Host
The domain name you want to look up.
Query Type
The type of record you’re requesting. You can return just one type of record related to the hostname, or you can return all related records. Note that some servers require you to ask for a specific type of record. Otherwise, they won’t return it.

Once you’ve provided the requested information, click Go.

What NsLookup Does

The NsLookup tool is functionally equivalent to nslookup on the Unix/Linux command-line.

NsLookup queries the specified DNS server and retrieves the requested records that are associated with the domain name you provided. These records contain information like the domain name’s IP addresses.

The following types of DNS records are especially useful:

  • A: the IPv4 address of the domain.
  • AAAA: the domain’s IPv6 address.
  • CNAME: the canonical name — allowing one domain name to map on to another. This allows more than one website to refer to a single web server.
  • MX: the server that handles email for the domain.
  • NS: one or more authoritative name server records for the domain.
  • TXT: a record containing information for use outside the DNS server. The content takes the form name=value. This information is used for many things including authentication schemes such as SPF and DKIM.
shares