A complete guide to DNS lookups — what DNS records are, how to read them, and how to use a free DNS lookup tool to troubleshoot email and website problems.
What Is DNS?
The Domain Name System (DNS) is the internet's phone book. When you type a domain like example.com into a browser, DNS translates that human-readable name into an IP address (like 93.184.216.34) that computers use to find and connect to the server.
Without DNS, you'd need to memorize IP addresses for every website you visit. It works silently in the background on billions of requests every day.
What Is a DNS Lookup?
A DNS lookup is the process of querying DNS servers to retrieve the records associated with a domain. This can include the server's IP address, mail server information, verification records, and more.
DNS lookups are essential for:
- Diagnosing why a website isn't loading
- Troubleshooting email delivery failures
- Verifying DNS changes have propagated
- Checking if a domain's DNS is properly configured
- Investigating a domain's infrastructure
DNS Record Types Explained
DNS isn't just one record — it's a collection of different record types, each serving a specific purpose.
A Record
Maps a domain name to an IPv4 address. This is the most fundamental DNS record — it's what points example.com to a specific server's IP address.
Example: example.com → 93.184.216.34
AAAA Record
Same as an A record, but for IPv6 addresses (the newer 128-bit format). As IPv6 adoption grows, AAAA records are increasingly important.
CNAME Record
A Canonical Name record points one domain name to another. Often used for subdomains like www.example.com → example.com, or for pointing to CDN or third-party services.
MX Record
Mail Exchange records tell email servers where to deliver email for a domain. They point to the mail server hostname and include a priority number (lower = higher priority). If you're troubleshooting email not arriving, checking MX records is the first step.
TXT Record
Text records store arbitrary text data and are widely used for domain verification and email authentication:
- SPF (Sender Policy Framework) — lists which servers can send email for your domain
- DKIM — a cryptographic key for signing outgoing emails
- DMARC — policy for how to handle email that fails SPF or DKIM checks
- Google/Microsoft site verification — confirms you own a domain
NS Record
Name Server records identify which DNS servers are authoritative for a domain. When you change your DNS provider or registrar, NS records are what change.
SOA Record
The Start of Authority record contains administrative information about a DNS zone — the primary name server, contact email, and timing settings for DNS propagation.
PTR Record
Pointer records are the reverse of A records — they map an IP address back to a domain name. Used for reverse DNS lookups, which are important for email server reputation.
How DNS Propagation Works
When you update a DNS record, the change doesn't take effect instantly. DNS records have a TTL (Time To Live) — a number in seconds that tells DNS servers how long to cache a record before checking for updates.
A TTL of 3600 means DNS servers will keep the cached value for 1 hour before refreshing. This is why DNS changes can take anywhere from minutes to 48 hours to propagate globally — it depends on the previous TTL and how often servers refresh their cache.
Tip: If you're planning a DNS change (like migrating to a new host), lower your TTL to 300 (5 minutes) a day or two in advance. This ensures changes take effect quickly on the day of the migration.
Common DNS Problems and How to Diagnose Them
Website Not Loading
Check the A record for the domain. If it points to an incorrect or unreachable IP address, that's your culprit. Use our DNS Lookup tool to verify the A record is pointing to the right server.
Email Not Arriving
Check MX records first. Then verify SPF and DKIM TXT records are correct. A misconfigured SPF record is one of the most common causes of email deliverability problems.
DNS Propagation Delay
If you just updated records and some users still see the old site, DNS is still propagating. Use a DNS lookup to check what different nameservers around the world are returning.
How to Do a DNS Lookup
The quickest way is to use a free online tool. Our DNS Lookup tool lets you enter any domain and instantly see all DNS records — A, AAAA, MX, TXT, CNAME, NS, and more — without installing any software.
If you prefer the command line, you can use nslookup or dig:
dig example.com ANY
nslookup -type=MX example.com
Conclusion
DNS underpins everything on the internet, from websites to email to security verification. Understanding how to read DNS records and perform lookups is a fundamental skill for developers, IT administrators, and anyone managing a domain. Use our free DNS Lookup tool to check any domain's records instantly.