The Domain Name System (DNS) is often described as the internet’s phonebook, translating human-friendly domain names like dwellixtools.com into machine-readable IP addresses like 104.21.48.1.
Yet when webmasters, software developers, or business owners log into their domain registrar’s control panel, they are confronted with a confusing alphabet soup of zone records: A, AAAA, CNAME, MX, TXT, NS, SOA, CAA, and SRV. Entering an incorrect character or choosing the wrong record type can immediately bring down your website or divert your corporate email into a black hole.
Here is the complete, practical guide to every essential DNS record type, how they route global traffic, and how Time to Live (TTL) dictates the speed of DNS updates.
The DNS Record Reference Cheat Sheet
| Record Type | Full Name | Standard Value / Format | Primary Purpose |
|---|---|---|---|
| A | Address Record | 32-bit IPv4 (e.g., 192.0.2.1) |
Maps a hostname to a direct IPv4 web server. |
| AAAA | IPv6 Address Record | 128-bit IPv6 (e.g., 2001:db8::1) |
Maps a hostname to a direct IPv6 web server. |
| CNAME | Canonical Name Record | Fully Qualified Domain (e.g., app.domain.com) |
Aliases one hostname to another canonical domain. |
| MX | Mail Exchanger | Priority + Hostname (e.g., 10 aspmx.l.google.com) |
Directs incoming domain email to designated mail servers. |
| TXT | Text Record | Arbitrary text string up to 255 chars | Holds verification tokens, SPF, and DMARC security policies. |
| NS | Name Server Record | DNS Hostname (e.g., ns1.cloudflare.com) |
Delegates authority for a DNS zone to specific servers. |
| PTR | Pointer Record | Canonical domain name | Performs Reverse DNS lookups (IP to hostname translation). |
| CAA | Certification Authority Auth | Flag + Tag + CA name (e.g., 0 issue "letsencrypt.org") |
Restricts which SSL Certificate Authorities may issue certs. |
| SOA | Start of Authority | Serial, refresh, retry, expire times | Designates administrative and version metadata for the zone. |
Deep Dive: Core DNS Record Types
1. The A Record (Address Record)
The A Record is the most fundamental record in DNS routing. It maps a domain or subdomain directly to a static IPv4 address (a 32-bit number formatted in four octets separated by dots, such as 198.51.100.24).
Host / Name: @ (root domain) or www
Type: A
Value: 198.51.100.24
TTL: 3600
2. The AAAA Record (Quad-A Record)
As global IPv4 addresses become exhausted, modern infrastructure utilizes IPv6 (128-bit hexadecimal addresses). An AAAA record behaves exactly like an A record, but points to an IPv6 destination:
Host / Name: @
Type: AAAA
Value: 2606:4700:3037::6815:3001
TTL: 3600
Best Practice: Dual-stack hosting (providing both an A and an AAAA record) ensures seamless connectivity for users on mobile networks and international ISPs that route exclusively over IPv6.
3. The CNAME Record (Canonical Name)
A CNAME record creates an alias, pointing one domain name to another domain name rather than an IP address.
Host / Name: blog
Type: CNAME
Value: dwellixtools.netlify.app.
TTL: 3600
When a client queries blog.example.com, the DNS resolver sees the CNAME, restarts the query against dwellixtools.netlify.app, retrieves its IP address, and returns that result.
The Apex Domain CNAME Restriction (RFC 1912)
Under DNS standard RFC 1912 section 2.4, a CNAME record cannot coexist with any other record for the same hostname. Because the apex root domain (@ or example.com) must possess NS and SOA records, standard CNAME records are strictly forbidden at the root level.
To solve this for modern serverless hosting (Vercel, Netlify, Cloudflare, AWS), modern DNS providers use proprietary techniques:
- Cloudflare: CNAME Flattening (transparently converts the CNAME into dynamic A/AAAA records at request time).
- AWS Route 53: Alias Records.
- Namecheap / DNSimple: ANAME / ALIAS records.
4. The MX Record (Mail Exchanger)
MX records govern where incoming emails sent to @yourdomain.com are delivered. MX records require two parameters:
- Priority Number: An integer (typically 1, 5, 10, or 20). Lower numbers indicate higher priority.
- Mail Server Hostname: Must always point to an A/AAAA record hostname, never a CNAME.
Host: @ Type: MX Priority: 1 Value: aspmx.l.google.com
Host: @ Type: MX Priority: 5 Value: alt1.aspmx.l.google.com
Host: @ Type: MX Priority: 5 Value: alt2.aspmx.l.google.com
If the primary mail server (aspmx.l.google.com) is temporarily unreachable or overloaded, sending MTAs automatically fall back to priority 5 backup servers.
5. The TXT Record (Text Record)
Originally designed to hold human-readable notes, TXT records have become the internet’s standard mechanism for machine-readable verification and email authentication:
- Domain Ownership Verification: Proves you control the domain to Google Search Console, Microsoft 365, or GitHub Pages.
- SPF (Sender Policy Framework): Declares authorized mail servers (
v=spf1 include:_spf.google.com ~all). - DMARC Security Policies: Instructs inboxes how to handle unaligned emails (
_dmarc.yourdomain.com).
How Time to Live (TTL) Dictates DNS Propagation
Every DNS record contains a TTL (Time to Live) value, specified in seconds:
Host: @ Type: A Value: 198.51.100.24 TTL: 3600 (1 Hour)
TTL tells recursive resolvers (such as Google Public DNS 8.8.8.8 or Cloudflare 1.1.1.1) how long they may cache the record locally before asking your authoritative nameservers for an updated version.
Why “48-Hour DNS Propagation” Is Largely a Myth:
When people say “DNS changes take 48 hours to propagate,” they are usually describing two factors:
- Stale records cached on intermediate ISP resolvers honoring long 86,400-second (24-hour) TTLs.
- Changing NS (Name Server) records at the domain registrar level, which are subject to the Top-Level Domain (TLD) registry’s root caching timers.
Migration Pro-Tip: Lower Your TTL Before Switching Servers
If you plan to migrate web hosts or servers on Friday afternoon:
- On Wednesday (48 hours in advance), log into your DNS panel and lower your A record’s TTL from
86400(24 hours) down to300(5 minutes). - When you point your record to the new server IP on Friday, global resolvers will pick up the new server in just 5 minutes rather than caching the old IP for a day.
- Once the migration is verified stable, raise the TTL back to
3600or14400to optimize caching and reduce authoritative query loads.
How to Test and Inspect Live DNS Records
- Query Any Live DNS Zone: Use our browser-based DNS Lookup Tool on DwellixTools to inspect live A, AAAA, CNAME, MX, TXT, and NS records across global DNS nodes without installing command-line utilities.
- Inspect Domain Registrar Ownership: Look up domain registration dates, authoritative name servers, and DNSSEC status with the WHOIS Lookup Tool.
Frequently Asked Questions
Can I have multiple A records for the same domain?
Yes. Publishing multiple A records with different IP addresses creates DNS Round-Robin Load Balancing. Resolvers will rotate through the list of IPs, distributing incoming traffic across multiple web servers.
What is the difference between an A record and a CNAME record?
An A record points a hostname directly to an IP address (sub.domain.com -> 192.0.2.1). A CNAME record points a hostname to another domain name (sub.domain.com -> app.hosting.com). If the target hosting service changes their server IP, a CNAME automatically follows the change without requiring manual updates in your DNS zone.
What is a CAA record and should I configure one?
A CAA (Certification Authority Authorization) record specifies which Certificate Authorities (like Let’s Encrypt, DigiCert, or Sectigo) are legally permitted to issue SSL/TLS certificates for your domain. If someone attempts to generate a fraudulent SSL certificate for your domain through an unlisted certificate authority, the CA must refuse issuance under international CA/Browser Forum rules.
Related Tools
Free browser tools related to this guide. Process locally with zero sign-up.
DNS Lookup & Global Propagation Checker
Query public DNS records (A, AAAA, MX, TXT, CNAME, NS, SOA, CAA, SRV, PTR, DS) and test global propagation live across 8 resolver networks.
Domain WHOIS Lookup
Query domain WHOIS registry records directly from authoritative root servers. Check registration dates, registrar details, nameservers, and domain status instantly.