DNS record types explained
What A, AAAA, CNAME, MX, TXT, NS and SRV records do.
- A — points a name at an IPv4 address, for example a web server.
- AAAA — the same for an IPv6 address.
- CNAME — makes a subdomain an alias of another name, such
as
www→example.se. Not allowed on the domain itself. - MX — the servers that receive email for the domain, with a priority (lower is tried first).
- TXT — free text, used for SPF, DKIM, DMARC and verification codes from other services.
- NS — delegates a subdomain to other nameservers.
- SRV — announces a service (such as SIP or Teams) with its host, port, priority and weight.
The SOA parameters control how other servers cache your zone. The defaults suit almost everyone.