← All tools

DNS Record Types Reference

10 common DNS record types with purpose and example values.

TypePurposeExample
AHostname to IPv4 addresswww → 93.184.216.34
AAAAHostname to IPv6 addresswww → 2606:2800:220:1::
CNAMEAlias one name to anotherblog → example.com
MXMail exchanger + priority10 mail.example.com
TXTFree text: SPF, DKIM, verification"v=spf1 include:_spf.x ~all"
NSAuthoritative nameserversns1.example.net
SOAZone authority: primary NS, serialns1 admin serial 2024010101
PTRReverse lookup: IP to name34.216.184.93.in-addr.arpa
SRVService location: host + port_sip._tcp → port 5060
CAAWhich CAs may issue certs0 issue "letsencrypt.org"

How to read the result

A/AAAA map names to IPs, CNAME aliases names, MX routes mail, TXT carries verification strings, NS/SOA delegate zones, PTR reverses IPs, SRV locates services, CAA restricts certificate issuance.

Example

MX 10 mail.example.com → mail routes to that host.

FAQ

A vs CNAME?

A points a name at an IP; CNAME points a name at another name. CNAME cannot sit at the zone apex.

Which records matter for email?

MX for routing plus TXT (SPF/DKIM/DMARC) for authentication.