NS lookup

Find all name servers for a domain name with this online DNS NS checker. For example, try stackoverflow.com or imdb.com to view their NS records.

How to lookup NS records

Jump to

NS records can be configured by the owner of a domain name. They are used to store the location of the authoritative DNS servers for that domain name. That means that these name servers will be seen as the source of truth for the DNS records for that domain name. Whenever a recursive DNS server doesn't have DNS records in its cache, it will trace the authoritative DNS server with NS lookups, and query that server for the DNS records. Learn more about NS records.

NS records are configured in DNS. But how can you look up these NS records? That depends on the operating system you are using. Windows, Linux and Mac all have a different way of finding NS records. The sections below contain instructions for each operating system.

Example output of a NS lookup query

How to lookup NS records on Windows

To check the NS records for a certain domain name on Windows, follow these steps:

  1. Open a command prompt by navigating to Start → 'Type here to search' → 'cmd' → Open.Open a command prompt in Windows
  2. Type nslookup -q=NS example.com and hit [enter] to get the NS records for example.com.NS lookup in Windows
  3. The NS records are listed below the Non-authoritative answer heading.

How to lookup NS records on Mac OS

To check the NS records for a certain domain name on a Mac, follow these steps:

  1. Open a terminal by entering [command] + [space] → 'terminal.app' → [enter].Open a terminal on a Mac
  2. Type dig example.com NS and hit [enter] to get the NS records for example.com.NS lookup on a Mac
  3. The NS records are listed below the ANSWER SECTION heading.

How to lookup NS records on Linux

To check the NS records for a certain domain name on Linux, follow these steps:

  1. Open a terminal by entering [Super] → 'terminal' → [enter].Open a terminal in Linux
  2. Type dig example.com NS and hit [enter] to get the NS records for example.com.NS lookup in Linux
  3. The NS records are listed below the ANSWER SECTION heading.

How to find NS records

To check the NS records of a domain, follow these steps:

  1. Open the NS lookup tool.Open the NS lookup tool
  2. Enter the domain name and hit [enter].Example DNS NS records
  3. The tool will query the NS records and shown them at the top of the page.

How to lookup other record types

There are other types of DNS records then just NS. The most commonly used DNS record types are A, AAAA, CNAME, NS, TXT, MX and SOA. If you'd like to look up all records of these record types, you can do so with nslookup. Click any of the record types below to find DNS records for that specific record type.