DNS Tools

Free domain & DNS utilities. No ads. No tracking.

What is DNS? A Complete Guide to the Domain Name System

Every time you open a browser and type a URL, DNS works behind the scenes to find the server hosting that website. This process—called DNS resolution—happens in milliseconds and involves multiple servers working together. This guide explains how DNS works, the different types of DNS records, and how to use DNS tools to troubleshoot domain issues.

How DNS Works

DNS is a hierarchical, distributed database. Instead of one central server storing all domain-to-IP mappings, the system is spread across millions of servers worldwide. This design makes DNS resilient, scalable, and fast.

The Four DNS Servers in a Lookup

  1. DNS Recursor (Resolver): Your first stop—typically operated by your ISP or a public service like Google DNS (8.8.8.8) or Cloudflare (1.1.1.1). The recursor receives your query and does the legwork of tracking down the IP address.
  2. Root Nameserver: The top of the DNS hierarchy. There are 13 root server clusters (A through M) operated by organizations like ICANN, Verisign, and NASA. The root server doesn't know the IP, but it knows which TLD server to ask next.
  3. TLD Nameserver: The Top-Level Domain server handles specific extensions like .com, .org, .io. It points to the authoritative nameserver for the domain.
  4. Authoritative Nameserver: The final stop. This server holds the actual DNS records for the domain and returns the IP address (or other requested record) back to the recursor.

DNS Record Types Explained

DNS records are instructions stored on authoritative nameservers. Each record type serves a different purpose. Here are the most common ones:

A Record
Maps a domain to an IPv4 address. Example: example.com → 93.184.216.34
AAAA Record
Maps a domain to an IPv6 address. Like A records but for the newer 128-bit addressing scheme.
CNAME Record
Creates an alias from one domain to another. www.example.com → example.com
MX Record
Mail Exchange—directs email to the correct mail server. Includes a priority value for failover.
TXT Record
Stores arbitrary text data. Commonly used for SPF, DKIM, DMARC email authentication, and domain verification.
NS Record
Nameserver—delegates a domain (or subdomain) to a set of authoritative nameservers.
SOA Record
Start of Authority—contains administrative metadata: primary nameserver, admin email, serial number, and refresh intervals.
PTR Record
Pointer—reverse DNS lookup. Maps an IP address back to a domain name (the opposite of A/AAAA records).

You can inspect DNS records for any domain using our DNS Record Lookup tool—it queries Google DNS over HTTPS and shows A, AAAA, MX, TXT, CNAME, NS, and SOA records in real time.

📚 Want the full reference? See our dedicated guide: DNS Record Types Explained — in-depth coverage of 10 record types with real examples, configuration tips, and a quick-reference table.

The DNS Lookup Flow (Step by Step)

Here's what happens when you type example.com into your browser:

  1. Cache Check: Your browser, OS, and router each check their local DNS cache. If the IP is cached, the lookup ends here (~0ms).
  2. Recursor Query: If not cached, your device asks the DNS recursor (e.g., your ISP's resolver or 8.8.8.8).
  3. Root Server: The recursor asks a root server: "Who handles .com?" The root responds with the TLD server addresses.
  4. TLD Server: The recursor asks the .com TLD server: "Who handles example.com?" The TLD responds with the authoritative nameserver addresses.
  5. Authoritative Server: The recursor asks the authoritative server: "What's the A record for example.com?" The authoritative server responds with the IP address.
  6. Response: The recursor returns the IP to your browser, which then establishes a TCP connection to the web server.

This entire chain typically completes in 20–120 milliseconds. Caching at each level makes subsequent lookups nearly instant.

Why DNS Matters

DNS isn't just a technical detail—it directly impacts your website's availability, performance, and security:

DNS Tools to Help You

We built free DNS tools to help you inspect, troubleshoot, and monitor your domains—no signup, no ads, no tracking:

Frequently Asked Questions

What does DNS stand for?

DNS stands for Domain Name System. It's the system that translates domain names (like google.com) into IP addresses (like 142.250.80.46) that computers use to route traffic.

How do I check my domain's DNS records?

Use our free DNS Record Lookup tool. Enter your domain, select the record type (A, MX, TXT, etc.), and see the results instantly. You can also use the command line: dig example.com A or nslookup example.com.

How long do DNS changes take to propagate?

DNS changes typically propagate within minutes to 48 hours, depending on the TTL (Time-To-Live) value set on your records. Most providers now support propagation in under 15 minutes. Use our DNS lookup tool to check if changes have propagated by querying against Google's public DNS.

What's the difference between A and AAAA records?

A records map a domain to an IPv4 address (32-bit, e.g., 192.0.2.1). AAAA records map to an IPv6 address (128-bit, e.g., 2001:db8::1). Most modern websites support both, with IPv6 adoption at roughly 45% globally as of 2026.

How do I find out when my domain expires?

Use our WHOIS Lookup tool to see your domain's registration details including the expiration date, registrar, and name servers. You can also use our Domain Expiry Calculator to see exactly how many days remain.

What is DNSSEC?

DNSSEC (Domain Name System Security Extensions) adds cryptographic signatures to DNS records, allowing resolvers to verify that the response hasn't been tampered with. It prevents DNS cache poisoning attacks. Most major TLDs (.com, .org, .io) support DNSSEC.