Email authentication lives in DNS. SPF, DKIM and DMARC records, MX records and the policies that secure transport are all published there, and every receiving server trusts the answers it gets. If an attacker can forge DNS answers, for example by poisoning a resolver's cache, mail can be redirected or authentication results can be falsified. DNSSEC adds digital signatures to DNS data so that resolvers can detect tampering. CAA records, a separate mechanism, tell certificate authorities which of them may issue certificates for your domain. Neither is mandatory for sending mail, and neither fixes content or reputation problems, but together they close real gaps, and DNSSEC is a prerequisite for DANE. This guide explains what each one protects, how to enable them safely, what failures look like and how they relate to the other mail security measures you may already run.
What DNSSEC does and does not do
DNSSEC builds a chain of trust from the DNS root to your zone. Your zone is signed with keys; the parent zone (for example .com) publishes a DS record that vouches for your key; a validating resolver checks the signatures and rejects answers that do not verify. It protects the integrity and authenticity of DNS answers. It does not encrypt queries, does not hide your records, does not prove that your mail is legitimate and does not stop phishing from lookalike domains. See lookalike domains for that problem.
Why it matters for email
- MX integrity. A forged MX answer sends mail to an attacker's server. See MX records.
- Authentication records. Forged SPF, DKIM or DMARC answers could let spoofed mail pass. See authenticate your domain.
- DANE. TLSA records that pin server certificates are only trustworthy when DNSSEC protects them. See DANE for SMTP.
- MTA-STS discovery. The policy is fetched over HTTPS, but the TXT record that announces it travels over DNS, and DNSSEC protects that step. See MTA-STS and TLS-RPT.
- Resolver trust for senders. Large receivers run validating resolvers, so a signed zone is checked on every lookup.
Enabling DNSSEC
- Check support. Your DNS host must be able to sign the zone, and your registrar must accept DS records for your top-level domain. Some country-code domains have limitations.
- Enable signing at the DNS host. The host generates keys, signs the zone and shows you the DS record data (key tag, algorithm, digest type and digest).
- Wait for the signed zone to propagate through the TTL of your existing records before adding the DS record.
- Add the DS record at the registrar. This publishes the trust link in the parent zone. Until this step, the zone is signed but not validated.
- Verify. Query with
dig +dnssecor a validator tool, and look for theadflag from a validating resolver. - Monitor. Set alerts for signature expiry and validation failures.
dig +dnssec example.com MX @1.1.1.1
dig DS example.com +short
dig DNSKEY example.com +shortIf you use a managed DNS service with automatic signing, many steps are handled for you. If the DNS host and registrar are different companies, you must copy the DS record by hand, and that handoff is where mistakes happen.
What can go wrong
| Problem | Cause | Effect | Prevention |
|---|---|---|---|
| DS record without matching keys | DS added before signing, or keys changed without updating DS | Validating resolvers return SERVFAIL; mail and web lookups fail | Add DS only after the zone is signed and verified |
| Expired signatures | Signing process stopped or misconfigured | Same as above, often at weekends | Automatic re-signing and expiry alerts |
| Key rollover errors | Old and new keys not published together | Intermittent failures | Follow documented rollover steps; use automation |
| Moving DNS providers | New provider signs with different keys | Zone becomes bogus | Disable DS first, move, then re-enable. Or use multi-signer arrangements |
| Registrar transfer | DS record lost | Validation breaks | Plan the sequence and verify after |
| Algorithm unsupported | Old algorithm at the parent or resolvers | Unsigned treatment or failure | Use a modern algorithm such as ECDSA P-256 |
The key fact: when DNSSEC is broken, validating resolvers refuse your answers, so your domain disappears for those users. Mail to you is deferred or bounced, and your outbound authentication checks fail at receivers that validate. Treat DNSSEC changes as production changes with a rollback plan. When diagnosing delivery problems that began after a DNS change, check validation first. See DNS records for email.
CAA records
CAA records state which certificate authorities may issue certificates for a domain. Before issuing, a compliant authority checks DNS for CAA records and refuses if it is not listed. This reduces the risk of mis-issuance, for example for your mail server hostname or your MTA-STS policy host. Example:
example.com. CAA 0 issue "letsencrypt.org"
example.com. CAA 0 issuewild ";"
example.com. CAA 0 iodef "mailto:[email protected]"The issue property lists allowed authorities, issuewild controls wildcard certificates and iodef provides a contact for violation reports. Check which authority issues your mail and web certificates before you publish, otherwise renewals will fail. CAA is inherited down the tree unless a subdomain publishes its own records, so a record at the apex covers hostnames such as mx.example.com. See TLS for email for how certificates are used in transit.
Rollout checklist
- Inventory every zone, subdomain delegation and DNS provider involved in mail.
- List all certificate authorities in use, including those for mail servers, web, tracking and link domains.
- Publish CAA first; it is low risk once the list is correct.
- Lower TTLs before DNSSEC changes, so that mistakes are quicker to correct.
- Enable signing, verify with at least two validating resolvers, then add DS.
- Send test mail to and from the domain after each step. Check authentication results in headers.
- Document key rollover and provider-migration procedures.
- Add monitoring for signature expiry, DS mismatch and certificate issuance.
Troubleshooting commands
When mail or lookups fail after a DNS change, work through a short sequence. First query your domain through a validating public resolver and again through one that does not validate; if only the validating resolver fails, the problem is DNSSEC. Second, compare the DS record at the parent with the DNSKEY in your zone and look for a key-tag mismatch. Third, check signature validity dates in the RRSIG records. Fourth, confirm that every name server for the zone serves the same signed data. If you need to restore service quickly, removing the DS record at the registrar returns the zone to an unsigned state, though resolvers may cache the old answer until the TTL expires, which is why short TTLs before a change are valuable.
Should you do it?
For most senders the essentials come first: SPF, DKIM, DMARC, a clean list and good practices. DNSSEC is a worthwhile hardening step when your DNS provider supports automatic signing and rollover, because the operational cost is then small. If you manage keys by hand, weigh the risk of an outage against the benefit. CAA is cheap and safe once you know your certificate sources. Both fit organisations that must meet security reviews, as well as anyone planning DANE.
Check your authentication records Verify SPF, DKIM and DMARC after any DNS change.
References and further reading
Frequently asked questions
Do I need DNSSEC to send email?
No. It is optional hardening, though it is required for DANE and improves trust in your DNS answers.
What happens if DNSSEC breaks?
Validating resolvers return errors and your domain can become unreachable for mail and web users until you fix it.
Does DNSSEC encrypt my DNS queries?
No. It signs answers to prove they are authentic but does not encrypt them.
What does a CAA record do?
It lists the certificate authorities allowed to issue certificates for your domain.
Can I move DNS providers safely with DNSSEC?
Yes, with a plan: remove the DS record first, move the zone, then re-enable signing and add the new DS record.