Every email authentication guide ends with the same instruction: add these records to your DNS. For many people, that is where the guide stops being useful, because the control panel looks nothing like the screenshot. Searches such as "add TXT record GoDaddy", "add MX record Namecheap" and "CNAME record Cloudflare" are among the most common DNS queries for exactly that reason. This guide explains how to add DNS records at the common kinds of providers (domain registrars, managed DNS services and hosting control panels such as cPanel) without relying on screenshots that go out of date. It shows how to find where your DNS is actually managed, the fields you will meet and how each provider tends to label them, the quirks that cause the most mistakes (appended domains, trailing dots, quotes, proxy toggles, the nameserver trap) and a checklist for confirming that your change worked. Menu names and layouts change often, so we describe the path in general terms and recommend you follow your provider's current help pages for exact clicks. We also never invent the record values you need; copy them from the service you are connecting, such as the domain settings in your dashboard.
Step 0: find out where your DNS is managed
The single most common reason a change "does nothing" is that it was made in the wrong place. A domain may be registered at one company, use another company's nameservers and have a website on a third. Only the zone at the authoritative nameservers counts.
- Look up your domain's nameservers:
dig NS example.com +short, or use a WHOIS lookup. - Match the nameserver names to a provider. If they point to your registrar, edit DNS at the registrar. If they point to a managed DNS service such as Cloudflare, edit there. If they point to your hosting company, use its panel.
- If you recently changed nameservers, make sure the new zone contains all the records you need, including MX and email authentication records, not only the website ones.
The fields you will see
| Field | Also called | What to enter |
|---|---|---|
| Type | Record type | A, AAAA, CNAME, MX, TXT and so on |
| Name | Host, hostname, label, subdomain | The part before your domain. Use @ for the root if the panel does |
| Value | Points to, data, content, target, text | The target hostname, address or text string |
| TTL | Time to live | Caching time. Automatic or a low value is fine for testing |
| Priority | Preference | MX only; lower numbers are tried first |
| Proxy status | Proxied, orange cloud, CDN | Offered by some DNS hosts for web records. Keep email records DNS-only |
Adding a record at a registrar-style panel
Registrars such as GoDaddy and Namecheap manage DNS for domains that use their default nameservers. The path is similar everywhere.
- Sign in and open your domain list, then choose the domain.
- Open the area labelled DNS, Manage DNS, DNS records or Advanced DNS.
- Choose Add, New record or Add record.
- Pick the type from the drop-down.
- Fill in name, value and TTL as in the table above. For MX, also set priority.
- Save. Some panels save each row as you click a check mark or a button, others need a final Save all changes.
Registrar panels often show existing records such as parking pages or default mail forwarding. A default record can conflict with what you add. For example, a parked-page CNAME at www cannot coexist with another record at the same name. Delete defaults you do not need, and note them before removing in case you need to restore.
Adding a record at a managed DNS service
Services such as Cloudflare, AWS Route 53 and similar hosts manage the zone for you after you point your nameservers at them. The same fields apply.
- Select the domain (zone) in the dashboard.
- Open DNS or Records.
- Add a record and choose the type.
- For records used by email, such as CNAME for DKIM, tracking or return-path and for MX, set the proxy option to DNS only if it is offered. Proxying replaces the real target with the host's own address, which breaks checks that need the actual value.
- Save and look up the record.
Managed services often import existing records when you add a domain. Compare the imported list with the old zone line by line before switching nameservers; missing MX or TXT records cause mail failures that are easy to avoid.
Adding a record in cPanel and other hosting panels
Hosting panels typically offer a Zone Editor or DNS Zone Manager.
- Open the Zone Editor (or similar) and choose the domain.
- Use Manage or Add Record.
- Select the type and fill in the name and value. Many cPanel versions require a fully qualified name, such as
selector._domainkey.example.com., with a trailing dot, while others add the domain for you. Read the hint next to the field. - Save.
Hosting panels sometimes include their own email authentication tool, which can publish SPF and DKIM for the hosting server's mail. If you also send through a separate service, make sure SPF includes both senders in a single record. See SPF with multiple senders.
Quirks that cause most mistakes
The appended domain
If the panel adds your domain to the name field, typing the full hostname produces name.example.com.example.com. After saving, look at how the panel displays the record, and look it up with dig. Double domain names are the number one reason a correct-looking record fails.
Trailing dots
In DNS, a trailing dot marks a fully qualified name. Some panels need it on targets such as CNAME and MX values; some add it themselves, and typing it yourself can result in a double dot. Follow the panel's example text.
Quotes
Some panels want TXT values with quotes and some do not. If you see literal quotes in the stored value after a lookup, remove them and re-save. See TXT records explained.
Underscore names
Names such as _dmarc and selector._domainkey are valid. A few panels reject underscores unless the type is TXT or CNAME; check that you chose the right type.
Two records where one is allowed
You can only have one SPF record and one DMARC record per name. Edit the existing one instead of adding another.
Changing nameservers drops records
Moving a domain to a new DNS host does not move its records. Export or copy them first.
Which records does an email sending setup need?
This depends on the service. For a typical sending service you add authentication records only: an SPF entry (or an include in your existing SPF), one or more DKIM records (TXT or CNAME) and a DMARC record for your policy. Optionally you add CNAME records for a tracking domain and a return-path domain. You do not change MX records to send. For ours, copy the exact records from the domain settings in your dashboard. A walk-through of the concepts is in authenticating your sending domain, and the record types are covered in DNS records for email explained.
Confirm that it worked
- Look up each record with
digornslookupagainst a public resolver and against the authoritative nameserver. - Compare the result with the instructions character by character where it matters.
- Use the service's verify button, after waiting for caching to expire.
- Run the checker. The free SPF, DKIM and DMARC checker tests the authentication records.
- Send a test message and read the authentication results in the headers. See reading email headers.
If it still fails
- Wait for the old TTL to pass. See TTL and propagation.
- Check for a conflicting record at the same name.
- Confirm you edited at the authoritative DNS host.
- Ask your provider's support to confirm what is stored; panels sometimes show a record that was not published.
Add your records, then verify Copy the records from your dashboard domain settings and check them with the free tool.
References and further reading
Frequently asked questions
Why did my DNS change do nothing?
The most common reason is editing the wrong DNS host. Only the zone at your domain's authoritative nameservers counts. Check the nameservers first.
Why does my record show the domain twice?
Many panels append your domain to the name field. Enter only the part before the domain, or follow the panel's example, and look the record up after saving.
Should email records be proxied at Cloudflare?
No. Where a DNS host offers proxying, keep records for email authentication, tracking and return-path in DNS-only mode so the real target is visible.
Do I need to change MX records to send email through a service?
No. Sending needs authentication records such as SPF and DKIM. MX records control incoming mail.
How do I know a record is published?
Look it up with dig or nslookup against a public resolver and the authoritative server, then use the service's verify button and an SPF, DKIM and DMARC checker.