📍

DNS Record Types Cheat Sheet

A, AAAA, CNAME, MX, TXT, and other DNS record types

Type Full Name Function Example
AAddressMaps hostname to IPv4example.com → 93.184.216.34
AAAAIPv6 AddressMaps hostname to IPv6example.com → 2606:2800:220:1::
CNAMECanonical NameAlias to another domainwww → example.com
MXMail ExchangeMail server for domainmail.example.com (priority 10)
TXTTextArbitrary text dataSPF, DKIM, site verification
NSName ServerAuthoritative DNS serversns1.example.com
SOAStart of AuthorityZone metadataPrimary NS, admin email, serial
PTRPointerReverse DNS lookup93.184.216.34 → example.com
SRVServiceService location_sip._tcp.example.com
CAACert Authority AuthAllowed CAs for domainletsencrypt.org
DNSKEYDNS KeyDNSSEC public keyZone signing key
DSDelegation SignerDNSSEC delegationHash of child DNSKEY
NAPTRNaming AuthorityRegex-based rewritingENUM, SIP routing
ALIASAlias (non-standard)CNAME at zone apexRoot domain to CDN
SPFSender Policy (deprecated)Email sender authNow stored as TXT
DKIMDomainKeys (via TXT)Email signingselector._domainkey.example.com
DMARCDomain Auth (via TXT)Email policy_dmarc.example.com

📧 Email Records

  • MX = Mail server for domain
  • SPF (TXT) = Authorized mail senders
  • DKIM (TXT) = Email signature verification
  • DMARC (TXT) = Email policy

🎯 Most Common

  • A = Domain → IPv4
  • AAAA = Domain → IPv6
  • CNAME = Alias to another domain
  • NS = Authoritative nameservers