DNS record types and examples
Publish values supplied by the operator of the destination service. The examples below use the documentation domain example.com and reserved example addresses.
Common records
| Type | Purpose | Example |
|---|---|---|
| A | Name to IPv4 address | www → 192.0.2.10 |
| AAAA | Name to IPv6 address | www → 2001:db8::10 |
| CNAME | Alias to another name | shop → stores.example.net. |
| MX | Mail servers and priorities | 10 mail.example.com. |
| TXT | Verification, SPF, DKIM, DMARC | v=spf1 ... |
| NS | Authoritative nameservers | ns1.provider.example. |
| SRV | Service host, port and priority | 0 5 5060 sip.example.com. |
| CAA | Allowed certificate authorities | 0 issue "letsencrypt.org" |
Important rules
- A CNAME cannot coexist at the same name with normal A, AAAA, MX or TXT records.
- CNAME, MX, NS and SRV targets are hostnames, not URLs; do not include
https://or a path. - A lower MX priority number is preferred.
- SPF is published as TXT and a domain should produce only one SPF record.
- PTR is reverse DNS for an IP address. It is normally controlled by the IP owner; ask support to change it.
Root domain and CNAME
The root domain normally uses A or AAAA. A traditional CNAME at the zone apex is unsuitable because it conflicts with mandatory zone records. If a service asks for flattening or ALIAS/ANAME, first confirm that the DNS provider supports it.
Advanced record types
Use DNSSEC, TLSA, HTTPS or SVCB only with exact service instructions. Not every type is enabled on every server or exposed to users. With DNSSEC, the DS record at the registrar must match the signed zone; a mismatch can make the whole domain unreachable.