What is a DNS Zone?
A DNS zone is an administrative slice of the domain namespace hosted on authoritative nameservers and described by a zone file — a structured table mapping hostnames to IP addresses, mail handlers, and security policies.
DNS Record Types (All 14 Standard Types)
| Record | Full Name | Purpose | Example Value | TTL Typical |
|---|---|---|---|---|
| A | Address | Maps a hostname to an IPv4 address | 93.184.216.34 | 3600s |
| AAAA | IPv6 Address | Maps a hostname to an IPv6 address | 2606:2800:220:1:248:1893:25c8:1946 | 3600s |
| CNAME | Canonical Name | Alias — points one domain to another | example.com. | 3600s |
| MX | Mail Exchange | Directs email to mail servers | 10 mail.example.com. | 3600s |
| TXT | Text | Arbitrary text — used for SPF, DKIM (selector._domainkey), DMARC (_dmarc) & domain verification | v=spf1 include:_spf.google.com ~all | 3600s |
| NS | Name Server | Delegates a domain to name servers | ns1.example.com. | 86400s |
| SOA | Start of Authority | Primary info about a DNS zone | ns1 admin 2026112501 3600 900… | 86400s |
| PTR | Pointer | Reverse DNS — maps IP to hostname | example.com. | 3600s |
| SRV | Service | Defines location of servers for specific services | 10 5 443 sip.example.com. | 3600s |
| CAA | Certification Authority Authorization | Restricts which CAs can issue SSL certs | 0 issue "letsencrypt.org" | 3600s |
| HTTPS | HTTPS Service Binding (SVCB) | Advertises HTTP/3 (QUIC), ALPN, and apex IP routing in one lookup (RFC 9460) | 1 . alpn="h3,h2" | 3600s |
| TLSA | TLS Authentication (DANE) | Associates a TLS certificate or public key directly with a domain via DNSSEC | 3 1 1 [sha256-hash] | 3600s |
| DS | Delegation Signer | DNSSEC — delegates signing authority | 12345 8 2 [hash] | 86400s |
| NAPTR | Name Authority Pointer | Used in VoIP/ENUM for number mapping | 100 10 "u" "E2U+sip" … | 3600s |
Common DNS Configuration Patterns
Email Setup (MX + SPF + DKIM)
Set MX records pointing to your mail server. Add one consolidated TXT record with your SPF policy, enable DKIM signing via your host's selector TXT record, and add DMARC. Read Email Auth Guide →
Website Pointing (A + CNAME)
Point your root domain (@) with an A/AAAA record to your server IP, and use a CNAME for www pointing to your root domain or CDN. Never put a standard CNAME at the root apex — use A records or CNAME Flattening / ALIAS.
Subdomain Delegation
Use NS records to delegate a subdomain (e.g. shop.example.com) to a completely separate DNS zone and nameserver cluster — useful for splitting app and marketing infrastructure.
DNSSEC Signing
DNSSEC uses cryptographic signatures (RRSIG, DS, DNSKEY) to defeat DNS spoofing and cache poisoning. Always remove DS records before changing nameservers to avoid DNS SERVFAIL.
Troubleshoot Common DNS Errors
DNS Zone Records FAQ
Standard RFC 1035 rules forbid a regular CNAME at the zone apex alongside SOA/NS/MX records. Use A/AAAA records or your DNS provider's CNAME Flattening / ALIAS feature instead.
Visitors on IPv6 connections connect to the AAAA address, while IPv4 devices use the A record. If you move servers, always update or delete the AAAA record too so IPv6 users don't hit your old server.
Multiple independent TXT records can live on the root domain for site verifications — EXCEPT SPF (v=spf1), where strictly one TXT record is permitted per hostname.