← Knowledge Base
DNSReference note1 min read · updated 2026-11-27

DNS record types in plain words

A, AAAA, CNAME, MX, TXT, NS, SRV, CAA and PTR: what each is for.

dnsrecords
Type Purpose Example
A name → IPv4 address www A 203.0.113.10
AAAA name → IPv6 address www AAAA 2001:db8::10
CNAME alias to another name (not allowed at the zone apex) blog CNAME site.example.net.
MX where to deliver mail (with priority) @ MX 10 mail.example.org.
TXT free text: SPF, DKIM, DMARC, domain verification @ TXT "v=spf1 -all"
NS the zone's authoritative name servers
SRV host and port of a service _sip._tcp ...
CAA which certificate authorities may issue certificates @ CAA 0 issue "letsencrypt.org"
PTR IP → name (reverse DNS)

A name that has a CNAME cannot have other records. After changing a record, the old value can live on until its TTL expires, so lower the TTL a day before a planned migration.