DNS Record Types Explained: A, CNAME, MX, TXT and More

A, AAAA, CNAME, MX, TXT, NS, SOA, CAA — one table to understand every common DNS record and when to use it.

DNS is the phonebook of the internet, and DNS records are its entries. Knowing the common types is essential for hosting sites, configuring email and verifying domain ownership.

Quick Reference

TypePurposeExample
ADomain → IPv4 addressexample.com → 93.184.216.34
AAAADomain → IPv6 addressexample.com → 2606:2800:220:1:…
CNAMEAlias to another hostnamewww.example.com → example.com
MXMail exchanger with priorityexample.com → mail.example.com (10)
TXTArbitrary text: SPF, verificationv=spf1 include:_spf.google.com ~all
NSDelegates resolution to DNS serversexample.com → ns1.cloudflare.com
SOAZone authority & refresh policyPrimary NS, serial, TTLs
CAARestricts which CAs may issue certs0 issue "letsencrypt.org"

Troubleshooting Patterns

Our DNS tab supports instant queries for all 8 common record types with copyable results.

Further reading

中EN日한عES