What is DNS?
DNS (Domain Name System) is the internet's address book. It translates human-readable domain names like google.com into IP addresses like 142.250.185.46 that computers use to communicate.
Without DNS, you'd need to memorize IP addresses for every website you visit. DNS makes the web accessible by turning domain names into machine-readable addresses.
This system works through a hierarchical network of servers that work together to resolve domain names in milliseconds, enabling billions of internet connections every single day.
Domain → IP Address
example.com ↔ 93.184.216.34
Key DNS Components
How DNS Query Works
A DNS query follows a specific path to resolve a domain name. Click on each step to learn more:
You type a URL (like example.com) into your browser. Your device doesn't know the IP address, so it sends a DNS query to find it.
Detailed Process
1. User Request: You enter a domain name in your browser. Your computer needs to find the IP address.
2. Recursive Resolver Query: Your device asks a recursive resolver (usually provided by your ISP or a service like Google DNS) to find the address.
3. Root Nameserver: The resolver queries a root nameserver, which says "I don't know this domain, but ask this TLD nameserver."
4. TLD Nameserver: The TLD nameserver (responsible for .com, .org, etc.) says "I don't know this specific domain, but ask the authoritative nameserver."
5. Authoritative Nameserver: Finally, the authoritative nameserver responds with the actual IP address, which gets passed back through the chain.
6. Caching: The resolver caches this result so future queries are faster. Your browser also caches it.
DNS Record Types
Different types of DNS records serve different purposes. Here are the most common ones:
Live DNS Lookup Simulator
Try looking up real DNS records for any domain. This uses Google's DNS-over-HTTPS API to fetch live data.
How It Works
This simulator uses the Google Public DNS API (DoH) to perform real DNS queries. It demonstrates how DNS resolution actually works on the internet.
Try these examples:
- google.com (A record)
- github.com (CNAME records)
- google.com with MX records
- Any domain you own or manage