DNS Lookup Tool

Enter a domain name to view DNS records, nameservers, email configuration, DNSSEC information, and domain resolution details.
Recently Viewed:

Complete Guide to DNS, Records & Troubleshooting

Everything you need to know about the Domain Name System, DNS records, domain resolution, propagation, and network diagnostics. The definitive resource for webmasters and network admins.

WH
Reviewed by WebHex Technical Team
Senior Web & SEO Specialist • Updated: August 2026

Methodology Disclosure

Our DNS Lookup tool fetches records directly in real-time. We use native backend DNS resolution libraries and direct UDP port 53 queries against public recursors (like Cloudflare 1.1.1.1 and Google 8.8.8.8) to ensure you are seeing live DNS propagation states without the interference of localized browser caching. This gives you an accurate, unbiased look at how the global internet sees your domain.

What Is DNS?

The Domain Name System (DNS) is universally referred to as the "phonebook of the Internet." Humans access information online through readable domain names, like google.com or freeseomate.com. However, web browsers interact through Internet Protocol (IP) addresses.

DNS translates those human-friendly domain names into machine-readable IP addresses so browsers can load internet resources. Each device connected to the Internet has a unique IP address that other machines use to find the device. DNS servers eliminate the need for humans to memorize complex numeric IP addresses such as 192.168.1.1 (in IPv4), or newer, more complex alphanumeric IP addresses like 2400:cb00:2048:1::c629:d7a2 (in IPv6).

Without DNS, you would have to maintain a local ledger of IP addresses for every website you ever wanted to visit, making the modern, scalable internet impossible.

How DNS Works

The process of DNS resolution involves converting a hostname into a computer-friendly IP address. When a user requests a webpage, a translation must occur between what the user types into their browser and the machine-friendly address necessary to locate the webpage.

In a typical DNS lookup, the query follows a strict, hierarchical path:

  1. The Request: A user types a domain name into their web browser.
  2. Browser & OS Cache: The browser first checks its own local DNS cache. If it doesn't find the IP address there, it asks the Operating System (OS) cache.
  3. Recursive DNS Resolver: If the OS doesn't know, it sends the query to a DNS recursive resolver (usually operated by your Internet Service Provider or a public DNS like Google 8.8.8.8).
  4. Root Name Server: If the recursive resolver doesn't have the answer cached, it queries a DNS root name server. The root server acts like an index in a library; it doesn't know the exact IP, but it knows where to look next.
  5. TLD Name Server: The root server points the resolver to the Top-Level Domain (TLD) name server (such as .com or .org). The TLD server holds information for all domains sharing that common extension.
  6. Authoritative Name Server: The TLD server directs the resolver to the domain's Authoritative Name Server. This server is the final boss—it holds the specific, authoritative DNS records (like the A record) configured by the domain owner.
  7. The Connection: The authoritative server returns the IP address to the recursive resolver, which caches it for future use and hands it back to the web browser. The browser then establishes an HTTP connection to the IP address!

How to Use This Tool

Using our DNS Lookup tool is incredibly simple, yet provides expert-level diagnostics.

  • 1
    Enter a Domain Name: Type the domain you wish to inspect (e.g., example.com) into the search bar. Do not include https:// or www..
  • 2
    Click Search: Click the Search DNS Records button. The tool queries authoritative DNS servers in real-time.
  • 3
    Navigate Record Tabs: Click through the modern tabbed interface (A, AAAA, CNAME, MX, TXT, NS) to filter specific record types natively in the browser.
  • 4
    Analyze TTLs: Review the Time To Live (TTL) values to understand how long internet caches will hold onto this specific configuration.
  • 5
    Export & Share: Use the Download CSV button for reporting, or click Share URL to generate a direct link that will automatically run the exact same query for anyone who clicks it!

Understanding DNS Records

DNS records are database instructions that provide information about a domain, including its IP address, how to handle mail, and verification security rules. Here are the most critical records our tool analyzes:

A Record (Address Record)

The core record that maps a domain name directly to a physical IPv4 address (e.g., 192.0.2.1). It is the mechanism that directs a user's browser to your web server.

AAAA Record (IPv6 Address Record)

Functions exactly like an A record, but it points to an IPv6 address (e.g., 2001:0db8:85a3:0000:0000:8a2e:0370:7334). As the internet transitions to IPv6 due to IPv4 exhaustion, AAAA records are increasingly vital.

CNAME Record (Canonical Name)

Creates an alias, mapping one domain name to another instead of directly to an IP address. For example, www.example.com often has a CNAME pointing to the root example.com. (Note: A CNAME cannot be placed at the root apex of a domain).

MX Record (Mail Exchange)

Specifies the mail servers responsible for accepting email messages on behalf of a recipient's domain. MX records include a "priority" value—the lowest number is the highest priority server.

TXT Record (Text Record)

Originally intended for human-readable notes, TXT records are now heavily utilized for machine-readable security policies. Crucial uses include:

  • SPF (Sender Policy Framework): Dictates which IP addresses are authorized to send email on behalf of your domain.
  • DKIM (DomainKeys Identified Mail): Adds cryptographic signatures to outbound emails.
  • DMARC: Uses SPF and DKIM to tell receivers how to handle emails that fail authentication.
  • Domain Verification: Services like Google Search Console require adding a unique TXT string to prove you own the domain.
NS Record (Name Server)

Indicates which DNS servers are authoritative for a domain. NS records perform the act of "delegation"—telling the world exactly who is managing the zone file for this domain name.

SOA Record (Start of Authority)

Stores administrative information about the domain's DNS zone, including the primary nameserver, the email of the domain administrator, the domain serial number (used to track zone updates), and timers specifying how often secondary servers should refresh.

CAA Record (Certificate Authority Authorization)

A security record that specifies exactly which Certificate Authorities (like Let's Encrypt or DigiCert) are allowed to issue SSL/TLS certificates for the domain. It prevents rogue CAs from issuing fraudulent certificates.

PTR Record (Pointer Record)

Provides Reverse DNS logic. While an A record maps a domain to an IP, a PTR record maps an IP address back to a domain. This is primarily used as a security and anti-spam measure for validating mail servers.

SRV Record (Service Record)

Specifies the host and port for specific services. Common in enterprise environments (like Microsoft Active Directory) and protocols like SIP/VoIP to discover services without needing dedicated subdomains.

DNS Resolution Guide: The Servers

DNS resolution is highly decentralized. To troubleshoot DNS effectively, you must understand the distinction between the four types of servers involved in the global infrastructure.

1. The Recursive Resolver

The recursive resolver (or DNS recursor) is the middleman. It receives the initial query from your web browser and is responsible for making all the subsequent requests to find the final IP address. It aggressively caches data to speed up future requests. (Examples: Google 8.8.8.8, Cloudflare 1.1.1.1, or your ISP's default servers).

2. The Root Name Servers

There are 13 logical root name servers globally (operating via Anycast across hundreds of physical servers). They sit at the very top of the DNS hierarchy. They don't know the IP addresses of websites; they only know which TLD servers to point the resolver toward.

3. The TLD Name Servers

The Top-Level Domain (TLD) servers maintain information for all domains that share a common extension (like .com, .org, or .uk). If you query example.com, the .com TLD server responds with the Authoritative Name Servers specifically assigned to example.com.

4. The Authoritative Name Servers

The Authoritative Name Server is the bottom of the chain. It actually holds and maintains the DNS records (A, MX, TXT) for the specific domain. When you update your DNS settings at Cloudflare, Route53, or GoDaddy, you are updating the Authoritative Name Server.

DNS Propagation Guide & TTL

What Is DNS Propagation?

When you change a DNS record, the change is instantly reflected on your Authoritative Name Server. However, users globally might not see the change immediately. This delay is known as DNS Propagation. It occurs because recursive resolvers worldwide have cached your old DNS records to save time and bandwidth.

Understanding TTL (Time To Live)

TTL is the amount of time (in seconds) that a DNS record is permitted to be cached by a recursive resolver before it must throw the data away and query the authoritative server again.

  • High TTL (e.g., 86400 seconds / 24 hours): Great for stable records. It reduces load on your authoritative servers and speeds up resolution for users, but makes changes very slow to propagate.
  • Low TTL (e.g., 300 seconds / 5 minutes): Essential during server migrations or website launches. It forces caches to expire rapidly, meaning changes propagate almost instantly.
Pro Tip: If you plan to change your website's IP address, lower the TTL on your A record to 300 seconds at least 24 hours before you make the actual IP change. Once the migration is complete, you can raise the TTL back up.

Common DNS Problems & Solutions

If a website goes down or emails stop delivering, DNS is often the culprit. Here are the most frequent scenarios:

Website Not Resolving (NXDOMAIN)

Cause: The domain is expired, missing an A record, or the nameservers were incorrectly removed.
Solution: Use this tool to query the NS records. If none return, log into your registrar to fix the nameserver delegation.

Incorrect A Record (Old IP)

Cause: You changed web hosts but the A record still points to the old server, or propagation hasn't finished.
Solution: Check the TTL value on the A record. Wait for the cache to clear, or flush your local OS DNS cache.

Missing MX Records

Cause: Your business emails are bouncing. Your MX records were likely overwritten or deleted during a web host migration.
Solution: Run an MX lookup. If empty, you must re-add your Google Workspace, Microsoft 365, or host-specific MX records immediately.

Broken CNAME Chain

Cause: A CNAME points to another CNAME which points to a dead end (or creates an infinite loop).
Solution: Ensure your CNAME resolves to an A record as quickly as possible. Never place a CNAME at the root apex (@) of a domain.

DNS Security & DNSSEC

DNS was originally designed without built-in security, making it vulnerable to various attacks.

  • DNS Spoofing / Cache Poisoning: An attacker injects forged DNS data into the cache of a recursive resolver. Users attempting to visit a legitimate bank are silently redirected to a malicious server.
  • DNS Hijacking: An attacker gains access to your domain registrar and changes the authoritative nameservers to servers they control.
The Solution: DNSSEC

DNSSEC (Domain Name System Security Extensions) retrofits security onto DNS. It does not encrypt DNS queries, but it adds cryptographic signatures to existing DNS records (using RRSIG, DNSKEY, and DS records).

When a recursive resolver queries a DNSSEC-enabled domain, it verifies the cryptographic signature. If the signature is missing or invalid, the resolver knows the data was tampered with and will block the user from visiting the compromised IP address.

DNS Lookup Use Cases

Server Migrations

Verify that your A records have successfully propagated to a new IP address after launching a new website.

Email Configuration

Troubleshoot bouncing emails by verifying that MX, SPF, DKIM, and DMARC TXT records are correctly formatted and resolving.

CDN Setup

Verify that CNAME records are properly pointing to your Content Delivery Network (like Cloudflare or Fastly).

SEO Audits

Ensure that subdomains correctly resolve and that DNS downtime isn't causing Googlebot to drop your indexed pages.

DNS Best Practices

  • Lower TTL Before Changes: Reduce TTL to 300s a day prior to any IP migrations.
  • Implement DMARC: Protect your brand's email reputation by enforcing strict SPF and DKIM policies via a DMARC TXT record.
  • Enable DNSSEC: If your DNS provider supports it, turn it on to cryptographically secure your zones.
  • Use Redundant Nameservers: Always use at least two geographically separated Authoritative Nameservers.

Troubleshooting Workflow

If a website is entirely unavailable, follow this strict diagnostic hierarchy:

  1. WHOIS Check: Did the domain expire? Are the nameservers configured at the registrar?
  2. DNS Lookup (NS): Do the nameservers resolve and respond?
  3. DNS Lookup (A/AAAA): Is the domain pointing to the correct, modern IP address?
  4. TTL Check: If the IP was recently changed, has the TTL expired globally?
  5. Ping/Trace (IP): Does the server actually respond to packets?
  6. HTTP/SSL Check: Is the web server software running, and is the SSL certificate valid?

Frequently Asked Questions

The Domain Name System (DNS) is the phonebook of the Internet. It translates human-readable domain names into machine-readable IP addresses so browsers can load internet resources.

A DNS lookup is the query process of resolving a domain name to its corresponding IP address or other resource records configured on the domain's authoritative name servers.

An A (Address) record is the most fundamental DNS record. It points a domain name directly to the IPv4 address of the server hosting the website.

Mail Exchange (MX) records direct email to a mail server. They indicate how email messages should be routed in accordance with the SMTP protocol.

TXT records store text-based information. They are heavily used for email security protocols like SPF, DKIM, and DMARC, as well as domain ownership verification.

DNS changes can take anywhere from a few minutes to 48 hours to propagate worldwide. This timeframe depends on the TTL (Time to Live) value and ISP caching policies.

DNSSEC (Domain Name System Security Extensions) adds cryptographic signatures to existing DNS records to protect against DNS spoofing and cache poisoning.

Yes, our DNS Lookup Tool is 100% free to use. There are no registration forms, subscriptions, or hidden fees. You can run unlimited domain queries instantly.

A CAA (Certificate Authority Authorization) record specifies which Certificate Authorities are allowed to issue SSL/TLS certificates for your domain. It prevents unauthorized certificate issuance by rogue CAs.

An SOA (Start of Authority) record stores administrative information about a DNS zone including the primary nameserver, administrator email, serial number, and refresh intervals for secondary nameservers.

A PTR (Pointer) record performs reverse DNS lookup, mapping an IP address back to a domain name. It is primarily used as a security and anti-spam measure to validate mail servers.

SPF (Sender Policy Framework) is a TXT record that specifies which IP addresses are authorized to send email on behalf of your domain. Without SPF, anyone can spoof emails from your domain and damage your brand reputation.

DNS provides operational networking records (IP addresses, mail routing) so the internet can connect to your website. WHOIS provides administrative registration information — who owns the domain, which registrar manages it, and when it expires.

NXDOMAIN means Non-Existent Domain. It is a DNS error response indicating the queried domain does not exist in DNS. This usually means the domain is not registered or the NS records are missing or broken.

Log into your DNS provider's control panel and add the MX records provided by your email service (Google Workspace, Microsoft 365, etc.). MX records must point to a hostname, never an IP address, and should have at least two entries for redundancy.