CAA Records: Choose Who May Issue Your Certificates
Any of the hundred-odd public certificate authorities can issue a certificate for your domain if someone passes its validation. A CAA record narrows that to the authorities you actually use. Since 2017 every public CA must check it before issuing.
What a CAA record says
A CAA record names one authority and what it is allowed to do. Several records together form the allow-list.
example.com. — The domain the policy protects. It also covers subdomains without their own CAA records.
Point at, tap or tab to a part of the record to see what it does.
The three tags
| Tag | What it controls | Example |
|---|---|---|
issue | Which CAs may issue certificates for this name and its subdomains. | 0 issue "letsencrypt.org" |
issuewild | Which CAs may issue wildcard certificates. If absent, issue applies to wildcards too. | 0 issuewild ";" (no wildcards) |
iodef | Where a CA may report a refused request. Optional; few CAs send reports. | 0 iodef "mailto:[email protected]" |
A typical setup
Allow the authorities you use, forbid wildcards if you do not need them, and give a contact address:
example.com. 3600 IN CAA 0 issue "letsencrypt.org"
example.com. 3600 IN CAA 0 issue "pki.goog"
example.com. 3600 IN CAA 0 issuewild ";"
example.com. 3600 IN CAA 0 iodef "mailto:[email protected]"The value ";" means "nobody". Listing two authorities is common: if one has an outage or revokes en masse, you can switch without touching DNS.
How a certificate authority checks it
- Before issuing for
shop.example.com, the CA looks up CAA records at exactly that name. - If there are none, it moves up to
example.com, and so on towards the top-level domain. The first set it finds applies. - If no name up the tree has CAA records, any CA may issue.
- If a CNAME is in the way, the CA follows it and checks the target too.
Values for common authorities
Use the value the authority publishes — it is a domain name, but not always the one on its website.
| Certificate authority | Value for `issue` |
|---|---|
| Let's Encrypt | letsencrypt.org |
| Google Trust Services | pki.goog |
| DigiCert | digicert.com |
| Sectigo · ZeroSSL | sectigo.com |
| SSL.com | ssl.com |
| Amazon (ACM) | amazon.com · amazontrust.com · awstrust.com · amazonaws.com |
Binding to your ACME account
RFC 8657 adds parameters to an issue value. accounturi allows only your ACME account at that CA, and validationmethods limits how ownership may be proven. An attacker who can briefly answer an HTTP challenge for your site still cannot get a certificate.
example.com. 3600 IN CAA 0 issue "letsencrypt.org; accounturi=https://acme-v02.api.letsencrypt.org/acme/acct/123456789; validationmethods=dns-01"Mistakes and checks
- Forgetting the CDN's or email provider's CA, so their automatic renewals fail weeks later.
- Putting CAA on
wwwonly: the apex stays unprotected unless it has its own records. - Setting the critical flag
128on a standard tag — harmless, but a typo in the tag then blocks issuance everywhere. - Typos in the value (
letsencrypt.com): the CA will refuse, which is CAA working exactly as designed.
dig example.com CAA +short
# 0 issue "letsencrypt.org"
dig shop.example.com CAA +short # empty? the CA climbs to example.comFrequently asked questions
Do I need a CAA record?
No, without one any CA may issue. With one, a mistake or attacker at another CA cannot get a certificate for your domain. It costs one record and is checked by the DNS Health Score.
Does CAA affect certificates I already have?
No. CAs check it only when issuing or renewing.
Do subdomains need their own CAA records?
No. A CA climbs up the tree and uses the first set it finds, so records on the domain cover its subdomains.
What does `issue ";"` mean?
That no CA may issue. On its own it forbids all certificates; with issuewild it forbids only wildcards.
See the theory in practice — run a CAA Lookup for your own domain.