Want to search or filter records interactively? Use the Interactive DNS Record Explorer to look up record types, common use cases, and troubleshooting scenarios.
When you buy a domain name, it doesn’t automatically know where your website is hosted, who handles your email, or how to prove that you own it. That job belongs to the Domain Name System (DNS).
Think of your domain zone file as a routing instruction sheet. Every time a browser, mail server, or terminal queries your domain, authoritative nameservers read specific DNS records to figure out where to send that network traffic.
Common DNS Record Types
| Type | Purpose | Typical Data / Example Target | Real-World Use Case |
|---|---|---|---|
A |
Maps a hostname directly to an IPv4 address. | 192.0.2.1 |
Pointing your root domain (example.com) to a physical or virtual web server. |
AAAA |
Maps a hostname to an IPv6 address. | 2001:db8::1 |
The modern networking equivalent of the A record for IPv6-enabled infrastructure. |
CNAME |
Creates an alias pointing one hostname to another hostname. | shops.myshopify.com. |
Pointing subdomains to CDNs, third-party SaaS hosts, or load balancers. |
MX |
Identifies mail servers responsible for receiving a domain's email. | Priority: 10, Host: aspmx.l.google.com. |
Routing incoming emails to providers like Google Workspace or Microsoft 365. |
TXT |
Stores text associated with a DNS name. | v=spf1 include:_spf.google.com ~all |
Domain ownership verification, and SPF/DKIM/DMARC anti-spam security policies. |
NS |
Identifies authoritative name servers for a DNS zone. | ns1.digitalocean.com. |
Directing internet queries to whichever company actively manages your domain's records. |
SOA |
Contains administrative metadata about a DNS zone. | Primary NS, Admin Email, Refresh timers | Built automatically by your DNS host to monitor zone transfers and synchronization. |
PTR |
Provides reverse DNS mapping from an IP address back to a hostname. | mail.example.com. |
Anti-spam validation for mail servers; verified by receiving email hosts. |
SRV |
Describes the location of certain network services. | Priority: 0, Weight: 5, Port: 5060 |
Voice-over-IP (SIP), Office 365 autodiscover, and multiplayer game servers. |
CAA |
Specifies which certificate authorities may issue certificates. | 0 issue "letsencrypt.org" |
Preventing unauthorized SSL/TLS certificate issuance for your domain. |
Important DNS Operational Concepts
- TTL (Time to Live): Determines how long a DNS response may remain cached by an internet service provider before it needs to ask your server for an update. (Tip: Lower your TTL to 300 seconds 24 hours before migrating your website to a new host for near-instant IP updates).
- Authoritative server: The master DNS server that holds the official, correct records for your specific domain zone.
- Recursive resolver: The "middleman" DNS service (like Google's 8.8.8.8 or Cloudflare's 1.1.1.1) that looks up domain names on behalf of your computer's web browser.
- DNS Propagation: The myth that DNS changes "travel" across the internet. In reality, changes propagate passively as individual local resolvers' cached TTL timers expire.
Troubleshooting: A Records vs. CNAME (The Zone Apex Problem)
The most common mistake domain owners make is trying to put a CNAME record on their root domain (e.g., example.com without the www).
An A record directly supplies an IP address. A CNAME tells the resolver to restart its search using an entirely different hostname. According to strict DNS rules, if a CNAME record exists for a name, no other record types (like MX for email) can exist alongside it.
Because a root domain must have NS and SOA records to function, putting a CNAME on the root breaks the entire zone. If a web host asks you to point your naked domain to a URL, look for your DNS provider's proprietary workaround (often labeled as an ALIAS or ANAME record).
TXT Records and Email Security
Originally intended just for administrative notes, TXT records are now the backbone of internet email security. If your emails keep landing in your clients' spam folders, you are likely missing your SPF (Sender Policy Framework) and DKIM (DomainKeys Identified Mail) TXT records. These records cryptographically prove to receiving servers that the email actually came from you and wasn't spoofed.