Quick one for anyone managing a handful of domains. Most small sites we look at have no CAA record at all, which means any publicly trusted CA may issue a certificate for them.
A minimal setup if you only use Let’s Encrypt:
example.com. CAA 0 issue "letsencrypt.org"
example.com. CAA 0 issuewild ";"
example.com. CAA 0 iodef "mailto:security@example.com"
issuelists the CAs allowed to issue normal certificates.issuewild ";"forbids wildcard certificates entirely (drop it if you use them).iodeftells a CA where to report a refused request (support varies).
Things that bite people:
- CAA is inherited down the tree: a record on example.com applies to www and api unless they have their own.
- If you use a CDN or managed TLS (Cloudflare, AWS, etc.), add their CAs too, or renewals will fail silently until expiry.
- Check with
dig CAA example.comand test a renewal before relying on it.
Longer write-up with provider-specific notes: https://dev.to/attackscout/caa-records-stop-any-ca-from-issuing-certificates-for-your-domain-kjk
Happy to answer questions about edge cases.
Just an addition: This prevents a compromised CA that is not on your list from issuing certificates for your domains.
That’s not a common issue, but the cost for adding a CAA is low, so I’d recommend it anyways.
Interesting record, though some of the limitations listed in the link gives some concerns to its effectiveness:
-
CAA is checked at issuance. It does not revoke or hide certificates that already exist.
-
It only constrains CAs that follow the rules; it does not protect against a CA that is itself compromised or ignores the check.
-


