DNS is like the internet's address book: it turns your domain name into the addresses of the servers that host your website and email.
The records you'll meet most
- A — points a name to an IPv4 address, e.g.
yourdomain.com → 203.0.113.10. - AAAA — the same for IPv6 addresses.
- CNAME — makes one name an alias of another, e.g.
www → yourdomain.com. - MX — tells the world which servers receive your email. Lower priority numbers are tried first.
- TXT — text used for verification and email security (SPF, DKIM, DMARC, Google or Microsoft verification).
- NS — the nameservers for the domain.
- CAA — which certificate authorities may issue SSL certificates for the domain.
TTL
Each record has a TTL (time to live) in seconds — how long other servers may cache it. Lower it (e.g. to 300) a day before a planned change so the change spreads faster.