DNS records tell the internet where to send traffic for your domain. Changing them is routine, but mistakes can take a website or email offline, so work carefully.
The records you will meet
| Record | What it does |
|---|---|
| A | Points a name to an IPv4 address (your web server) |
| AAAA | Points a name to an IPv6 address |
| CNAME | Makes one name an alias of another, such as www |
| MX | Says which servers receive email for your domain |
| TXT | Holds text such as SPF, DKIM and domain verification |
| SRV | Locates specific services |
| CAA | Controls which authorities may issue SSL certificates |
Before you change anything
- Write down or export the current records.
- Lower the TTL a day earlier if you plan a big change.
- Check you are editing DNS where the domain's nameservers actually point.
Making the change
- Open the DNS zone for your domain.
- Edit or add the record, checking host, type, value and TTL.
- Save and wait for the change to spread.
- Verify with a DNS lookup.
Email-related records
SPF, DKIM and DMARC are TXT records that help stop spoofing. See protecting business email from spoofing.
Frequently asked questions
What is TTL?
Time to live: how long other servers may keep a record before checking again. Lower TTLs make changes spread faster.
Can I break my email by editing DNS?
Yes, if you change or delete MX records by mistake. Always note the originals first.