Short answer: DNS records are instructions stored for your domain. A and AAAA records point a name to a server's IP address, CNAME points one name to another name, MX tells email where to go, TXT holds verification and email-security text, and NS lists the nameservers in charge.
The records you'll actually use
| Record | What it does | Example |
|---|---|---|
| A | Points a name to an IPv4 address | yourbusiness.com → 203.0.113.10 |
| AAAA | Points a name to an IPv6 address | yourbusiness.com → 2001:db8::10 |
| CNAME | Points a name to another name | www → yourbusiness.com |
| MX | Sends email to a mail server, with a priority | 10 mail.yourbusiness.com |
| TXT | Holds text for verification and email security | v=spf1 include:... |
| NS | Lists the domain's nameservers | ns1.example-host.com |
| CAA | Says which authorities may issue SSL certificates | 0 issue "letsencrypt.org" |
Common tasks
Point your site to a new host
Update the A record (and AAAA if used) to the new server's IP address, or change nameservers entirely. See what nameservers are.
Set up email
Add the MX records your email provider gives you, plus SPF, DKIM and DMARC TXT records so messages don't land in spam. See SPF, DKIM and DMARC.
Verify a service
Google Search Console and many tools ask you to add a TXT record to prove you own the domain.
TTL
Every record has a TTL (time to live) in seconds. It tells resolvers how long to cache the answer. Lower the TTL a day before a planned change so the switch spreads faster. See DNS propagation.
Common mistakes
- Adding a CNAME on the root domain, which most DNS providers don't allow.
- Deleting MX records when changing nameservers, which breaks email.
- Having two SPF records instead of one combined record.
- Forgetting the www version of your site.
Frequently asked questions
Where do I edit DNS records?
Wherever your nameservers point: usually your host's control panel or your registrar's DNS editor.
Can I break my site by editing DNS?
Yes, a wrong A or MX record can take a site or email offline. Note the old values before you change anything.
What's the difference between a CNAME and a redirect?
A CNAME is a DNS alias. A redirect is a web-server instruction that sends visitors to a different URL. See 301 vs 302 redirects.



