Check DNS records for any website using this online tool. For example, try youtube.com or amazon.com to view their DNS records.

DNS checker

Check DNS records online. This checker will show DNS records for any website. This includes A, AAAA, NS, MX and TXT.

How to check DNS records?

Not sure how to check DNS records? There are multiple ways, and we'll go through all of them:

  1. From the command line on Linux or Mac;
  2. From the command line on Windows;
  3. Using an online DNS checker.

Command line

Output of the dig command on mac

If you're already familiar with using the command line, you can use dig or nslookup to quickly find the DNS records for a hostname.

dig comes pre-installed on Linux and MacOS. To check DNS records for a particular website, open a terminal and type dig google.com, then hit enter. This will show the A records of the domain name google.com. To check a different record type, simply append it to the command like so: dig google.com MX.

You can also use dig on Windows, but you'll have to install it first. It's more convenient to use the built-in nslookup command if you're using Windows. Open a terminal (Start → cmd.exe) and type nslookup facebook.com to find the IP addresses that host Facebook.com. If you want to check for different record types than A records, you can add the type argument. So, nslookup -type=TXT facebook.com retrieves all TXT records of Facebook.com.

Online tool

Output of an online DNS checker

A more convenient way to find DNS records is to use an online DNS checker like the one on this page. It helps you check DNS records right from your browser, without the need for a command line. Simply scroll up, type the name of the website you want to check the DNS records of, and click 'Find DNS records'.

Why check DNS records?

Whether you're setting up a new website, updating records for an existing site, or checking the configuration of a mail server, a DNS record checker can come in handy!

New website

When setting up a new website, one of the things you'll have to do is configure DNS records. Nearly all hosting providers have dedicated DNS servers. You can use these to configure DNS records. If you want to use DNS servers of another organization, you'll have to point the NS records from the hosting provider there. This process can take a while, so it can be convenient to check the DNS records while you're in this process.

Check updated records

If you're changing DNS records, there might be some DNS servers that cache the old version of your records. They will eventually remove that version though, but it might take a while before the TTL expires. So, if you've just updated your DNS records, you can use a DNS checker to find out whether the DNS servers are serving a fresh or stale set of records.

Mail server configuration

Email works like a distributed system, consisting of independent mail servers. The mail servers from Gmail and Outlook.com, for example, can change independently. They need some way to communicate these changes. That's where DNS comes in.

Everyone that has configured email for a domain name, has to update their DNS records. MX records tell which to which servers an email for a certain domain should be sent. TXT records contain SPF data that prevents spam. You can inspect these settings with a DNS checker.

How does it work?

DNS checking on nslookup.io follows these steps:

  1. You fill in a domain name in on the top of this page.
  2. One of the servers of Nslookup will query the DNS records for that domain.
  3. The DNS server responds with DNS records.
  4. The DNS records are parsed and nicely formatted on the screen.