← Cheat Sheets
DNS Record Types
What each DNS record does.
# DNS Record Types
What each DNS record does.
| Record | Purpose |
|---|---|
| A | Hostname to IPv4 address |
| AAAA | Hostname to IPv6 address |
| CNAME | Alias to another hostname |
| MX | Mail servers (with priority) |
| TXT | Free text: SPF, DKIM, domain verification |
| NS | Authoritative name servers |
| SOA | Zone authority and serial |
| PTR | IP address to hostname (reverse) |
| SRV | Service host and port |
| CAA | Which CAs may issue certificates |
A CNAME cannot coexist with other records on the same name, so it cannot be used at the zone apex. Changes take effect as the **TTL** expires.