A/AAAA/CNAME/MX/TXT basics and common setups.
DNS records connect your domain to servers and services.
A: points a name to an IPv4 address.
AAAA: points a name to an IPv6 address.
CNAME: alias one name to another name.
MX: mail routing.
TXT: verification and email auth (SPF/DKIM/DMARC).
A record for @ → your VPS IPv4
A
@
Optional A record for www → your VPS IPv4, or CNAME www → @
www
CNAME www → @
SPF (TXT)
DKIM (TXT)
DMARC (TXT)
Bad MX/TXT records can break email. Make one change at a time.
Last updated 3 days ago