DNS Lookup Guide: How to Check DNS Records (A, MX, CNAME)

Learn how to look up DNS records for any domain, how the resolution works, and what SPF/DKIM do. Free DNS lookup tool included.

The DNS (Domain Name System) is essentially the phonebook of the internet. When you type google.com into your browser, your computer has absolutely no idea where that is. It relies entirely on DNS to translate that human-readable name into a machine-readable IP address (like 142.250.190.46).

A DNS Lookup tool allows developers, sysadmins, and security researchers to peel back the curtain and see exactly how a domain is routing its traffic.


🗂️ The 5 Most Critical DNS Record Types

When you query a domain, you aren’t just getting an IP address. You are pulling from a massive database of different routing rules:

Record Type What it Stands For The Professional Purpose
A Address Record The backbone of DNS. Maps a domain directly to a standard IPv4 address.
CNAME Canonical Name Maps a subdomain to another domain (e.g., pointing www.site.com to site.com).
MX Mail Exchange Tells the entire internet exactly which servers handle email for this domain.
TXT Text Record A dumping ground for machine-readable text, heavily used for email security (SPF/DKIM).
NS Name Server Identifies the authoritative servers that actually hold the master copy of all these records.

🛡️ Unpacking Email Security: MX and TXT

If you are setting up professional email via Google Workspace or Microsoft 365, you must configure these specific records:

  1. MX Priorities: You will usually set up multiple MX records. The internet relies on the “Priority” number. If your primary server (Priority 10) goes down, the sender will automatically route to the backup server (Priority 20).
  2. SPF (Sender Policy Framework): This is a specific TXT record that loudly announces to the internet: “Only these specific IP addresses are legally allowed to send email on my behalf.” If a spammer tries to fake an email from your domain, the receiving server will check the SPF record, realize it’s a fake, and instantly drop the email.

🚀 Need to audit a domain’s routing? Stop using clunky terminal commands. Use our blazing fast, completely free DNS Lookup Tool to query A, AAAA, MX, CNAME, NS, TXT, and SOA records instantly from any domain on the planet!


Try our DNS Lookup

Learn how to look up DNS records for any domain, how the resolution works, and what SPF/DKIM do. Free DNS lookup tool included.

ENDOFFILE