DNS Lookup - Check All DNS records for any domain (2024)

whatsmydns.net DNS Lookup tool lets you query DNS servers and get instant results.

You can perform a DNS lookup to do a quick DNS check for all of the most common DNS record types from a selection of DNS servers for any domain name.

Looking for easier to understand results? Use the Global DNS Checker tool to check DNS propagation.

What is a DNS lookup?

A DNS lookup typically refers to the process of converting easy to remember names called domain names (like www.google.com) into numbers called IP addresses (like 192.168.2.1).

Computers use these numbers to communicate with each other on the Internet, but these numbers would be difficult for humans to remember and can change from time to time when network configuration changes are required.

A great way to think of a DNS lookup is similar to the contact list on your phone, but a special one where it has everybody’s name without them having told you their number, and if they get a new number, your phone automatically updates it. You don’t need to remember each of your contact’s numbers, but searching for their name is quick and easy. When you select their name to make a call, your phone will automatically use their current phone number.

What DNS record types can be looked up?

There are many different types of DNS records which are used for different purposes, for example the domain name www.example.com may host a website (A record), send and receive email (MX record), as well as use a VoIP service (SRV record). Different DNS record types are used to configure each of these services.

The DNS lookup tool lets you perform a DNS lookup for any domain name on the below record types.

A Record Lookup - Address or IPv4 DNS records, these store IP addresses for domain names.

AAAA Record Lookup - Address v6 or IPv6 DNS records, same as A records but store IPv6 IP addresses.

CAA Record Lookup - Certificate Authority Authorization DNS records are used to store which certificate authorities are allowed to issue certificates for the domain.

CNAME Record Lookup - Canonical Name or sometimes known as Alias records are used to point to other DNS records. Often used for subdomains like www.

MX Record Lookup - Mail Exchanger DNS records are used to store which email servers are responsible for handling email for the domain name.

NS Record Lookup - Nameserver DNS records store the authoritative nameserver for a domain name.

PTR Record Lookup - Pointer or reverse DNS records. This is the opposite of A or AAAA DNS records and is used to turn an IP address into a hostname.

SOA Record Lookup - Start of Authority DNS records store meta details about a domain name such as the administrator contact email address and when the domain last had changes made to its DNS configuration.

SRV Record Lookup - Service DNS records store protocol and port numbers for services offered by the domain name, for example VoIP or chat server.

TXT Record Lookup - Text records are used to store notes as DNS records, however they are typically used to store configuration settings for various services like SPF records which are used to define which email servers are allowed to send email from the domain or verification codes for some webmaster tools.

How does a DNS lookup work?

The Domain Name System (DNS) is a series of servers located all around the world which store the configuration information of a domain name in order to make the process of converting a domain name into an IP address or other DNS configuration information to more easily access a server.

There are 4 different types of DNS servers involved when performing a DNS lookup. Each DNS server type has a different role to play and may not all be required under certain circ*mstances.

Recursive Resolver - This is the DNS server that your computer or device communicates with. This DNS server is typically issued to you automatically by your service provider and is geographically located nearby in order to return results as fast as possible. This server will cache DNS record data in order to speed up future DNS lookup requests.

Root Nameserver - The root name server is responsible for returning the IP address of the TLD nameserver. For example, when resolving example.com, the root name server will return the IP address of the TLD name server responsible for .com domain names.

TLD Nameserver - The Top Level Domain (TLD) name server is responsible for returning the authoritative name servers for all domains under the TLD it is responsible for. The .com TLD name server will return results for example.com but not example.org.

Authoritative Nameserver - This is the DNS server for actually storing the DNS configuration data of a domain name.

Example DNS lookup flow

As an example of the flow of events when performing a DNS lookup, this is the order of events that will happen when you request a URL to visit a website like example.com in your web browser.

  1. A user types the URL example.com into their web browser.
  2. The user’s computer sends a request to the recursive resolver.
  3. The recursive resolver then sends a request to the root nameserver which provides the address of the TLD nameserver responsible for .com domain names.
  4. The root nameserver returns the result of the TLD nameserver to the recursive resolver.
  5. The recursive resolver sends a request to the .com TLD nameserver which provides the address of the authoritative nameserver responsible for the example.com domain.
  6. The TLD nameserver returns the result of the authoritative nameserver to the recursive resolver.
  7. The recursive resolver sends a request to the authoritative nameserver responsible for example.com which provides the DNS records requested.
  8. The authoritative nameserver returns results to the recursive resolver.
  9. The recursive resolver returns DNS records containing the IP address to the browser.
  10. The browser makes a request directly to the IP address of the server hosting the website.

Why are DNS records cached?

When DNS requests are made, the response includes what is known as the Time to Live (TTL) which specifies the number of seconds in which DNS records should be cached for.

Caching typically happens at the recursive resolver being used, as these are typically used by many users on a network with close geographical distance. This will not only speed up subsequent requests for the user who made the original request but all other users using the same DNS resolver.

Caching DNS records can make a big difference to response times as often many authoritative nameservers are located on the other side of the world for international users and if your web browser can skip parts of the full DNS lookup process and just get the IP address of a domain name from a local cache then the request can be sped up significantly.

What is a reverse DNS lookup?

A reverse DNS lookup is the opposite of a regular DNS lookup. Instead of converting a domain name into an IP address, it converts an IP address into a domain name. The DNS server will need to have a PTR record pointing to the domain name.

You can use the special reverse DNS lookup tool to analyse reverse DNS records.

How do you do a DNS lookup?

Most of the time, a DNS lookup is something that you do not need to worry about as your operating system, or web browser, will handle this for you automatically when you need to resolve a domain name.

Many operating systems include a DNS lookup tool for performing DNS lookups manually for diagnosing problems. Windows systems provide a command line tool called nslookup and Linux and Mac systems include the powerful dig tool.

Using these command line tools can be complicated and difficult to understand for non-technical people which is why the whatsmydns DNS lookup tool was created to help with quickly performing a DNS check.

As an online alternative, all you need to do is simply enter the domain name that you want to perform a DNS lookup against and the results will be displayed right in your web browser. This provides even novice users with an easy to use DNS lookup tool.

For added convenience, a dedicated Google Chrome DNS Lookup extension has been created to quickly see DNS records for the website you're currently on.

DNS Lookup - Check All DNS records for any domain (2024)

FAQs

Can you see all DNS records for a domain? ›

Online nslookup is a web based DNS client that queries DNS records for a given domain name. It allows you to view all the DNS records for a website. It provides the same information as command line tools like dig and nslookup, from the convenience of your web browser.

How do you check that a DNS record exists for this domain? ›

Checking DNS records using the command line

The most efficient way to check DNS records of the domain is to use a terminal with the command nslookup. This command will run on almost all operating systems (Windows, Linux, and macOS).

How do I test DNS search for a domain? ›

Open Command Prompt. Enter nslookup domain.com to perform a DNS lookup for the domain.

How to lookup DNS records for domain command line? ›

Type nslookup domain_name and the command will return the A record for the domain you ran a query for. Type nslookup -q=XX domain_name where XX is a type of a DNS record and domain_name is the domain you want to look up the record for. Some of the available types of records are MX, A, CNAME, and TXT.

How to list all Cname records for a given domain? ›

To check the CNAME 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.
  2. Type nslookup -q=cname example.com and hit [enter] to get the CNAME records for example.com .

How to do a DNS lookup? ›

1. Using Windows command line
  1. Open the command prompt.
  2. Type nslookup followed by the IP address and press 'Enter. ' For example, it can be nslookup 8.8. 8.8.
  3. Now, the command prompt will return the DNS name and the IP you entered.
May 22, 2024

How do I verify a domain by DNS record? ›

In order to verify domain ownership, complete the following steps:
  1. Go to Google Search Console.
  2. Click 'Add Property'.
  3. Choose Domain and enter your domain name:
  4. Click 'Continue', you'll be redirected to the next step.
  5. Copy the domain verification TXT record you'll get:
  6. Log into your hosting.

How to test DNS with nslookup? ›

If I'm doing a quick check, I'll open a command prompt (or terminal) and type “nslookup [host] [server]” where host is the name you want to check and server is the DNS server you want to look it up on. Here's an example where I looked up google.com on 8.8. 8.8 (a google DNS server).

What is the command for DNS test? ›

Here's how to check DNS settings in Windows and see if your DNS is working: Open the Command Prompt. Type ipconfig /all and press Enter. Look for the DNS Servers entry to check your DNS settings and verify that they are correct.

How do I find old DNS records for a domain? ›

How to perform a DNS History Lookup
  1. Open up securitytrails.com.
  2. Enter your domain name.
  3. Login with your username and password (get free account if you don't have one)
  4. Move to the Historical Data block.
Mar 28, 2024

How to check domain DNS command? ›

The nslookup command is used to query the Domain Name System (DNS) to obtain information about a domain or hostname. When you perform an nslookup command, it will query the DNS server to get information about the IP address associated with the domain name.

How to find the DNS server for a domain? ›

How to find a website's DNS address
  1. Open the Terminal application.
  2. Type host -t ns domain-name-com-here to print the current DNS servers of a domain.
  3. Another options is to run dig ns your-domain-name command.
  4. To find the delegation path from the root name servers, try: dig +trace your-domain-name.
Apr 22, 2024

How do I export all DNS records from a domain? ›

How To Export DNS Records?
  1. STEP 1: Navigate to Managed DNS. Login to the dashboard and select Managed DNS from the DNS menu. ...
  2. STEP 2: Choose the Domain You Have to Export Records For. Enter the domain name or select it from the Recently Updated Domains list. ...
  3. STEP 3: Navigate to Reporting. ...
  4. STEP 4: Select File Type and Export.
Jan 2, 2023

Are DNS records public? ›

Yes, but security through obscurity is no security at all. Anything in DNS is public. All IP addresses are known, and people are permanently scanning the entire IP address space looking for open and vulnerable systems. There are lots of ways that DNS information can be leaked and discovered by a bad actor.

How to get all IPS for a domain? ›

To check the IP addresses of a domain, follow these steps:
  1. Open the website to IP lookup tool.
  2. Enter the URL or domain name and hit [enter].
  3. The tool will query the IPv4 and IPv6 addresses and shown them at the top of the page.

Top Articles
Latest Posts
Article information

Author: Catherine Tremblay

Last Updated:

Views: 5594

Rating: 4.7 / 5 (47 voted)

Reviews: 94% of readers found this page helpful

Author information

Name: Catherine Tremblay

Birthday: 1999-09-23

Address: Suite 461 73643 Sherril Loaf, Dickinsonland, AZ 47941-2379

Phone: +2678139151039

Job: International Administration Supervisor

Hobby: Dowsing, Snowboarding, Rowing, Beekeeping, Calligraphy, Shooting, Air sports

Introduction: My name is Catherine Tremblay, I am a precious, perfect, tasty, enthusiastic, inexpensive, vast, kind person who loves writing and wants to share my knowledge and understanding with you.