A CAA (Certification Authority Authorization) record is a DNS record that names the certificate authorities (CAs) allowed to issue TLS certificates for a domain. Before issuing, a CA looks up the CAA records; if some exist and none names that CA, it must refuse. RFC 8659 defines the record. Add one issue record per CA you use, then confirm the result with the CAA check.
A minimal setup that allows one CA and asks for violation reports:
example.com. 3600 IN CAA 0 issue "letsencrypt.org"
example.com. 3600 IN CAA 0 iodef "mailto:security@example.com"
What a CAA record contains
Each record has three parts: a flags byte, a tag, and a value. RFC 8659 §4.1 defines the layout. The tags that matter in practice:
| Tag | Meaning | RFC 8659 |
|---|---|---|
issue | Authorizes a CA to issue certificates for the name (and, when no issuewild exists, for wildcards too) | §4.2 |
issuewild | Authorizes a CA for wildcard certificates only; overrides issue for wildcards | §4.3 |
iodef | A mailto: or https: address where a CA may report a refused or suspicious request | §4.4 |
The value of issue and issuewild is the CA’s identifying domain name, in quotes. A value of ";" (a semicolon) authorizes no CA at all:
nocerts.example.com. CAA 0 issue ";"
Use that on names that must never get a certificate, and remember it blocks your own CA as well. The RFC’s own example puts an optional parameter after the domain, for instance "ca1.example.net; account=230123". Which parameters a CA honours is that CA’s decision; Let’s Encrypt documents accounturi and validationmethods, covered below.
The critical flag
The flags byte has one defined bit. RFC 8659 §4.1 says that if it is set to 1, the property is critical, and §4.5 explains the purpose: a CA that does not understand a critical property must not issue. A record such as CAA 128 tbs "Unknown" therefore stops every conforming CA that does not recognize tbs. Leave flags at 0 unless you have a reason to block unknown properties; AWS Certificate Manager’s documentation, for one, says to set it to 0.
Tree climbing: where the CA looks
A CA does not read CAA only at the exact name. RFC 8659 §3 describes the search: it starts at the requested name and climbs toward the root, one label at a time, until it finds a CAA record set, stopping before the root. So a certificate request for shop.eu.example.com checks that name, then eu.example.com, then example.com, then com. The first name that has any CAA record decides.
Two consequences. A record at example.com covers all subdomains that have no CAA of their own. And a subdomain that has its own CAA record set ignores the parent’s: if shop.example.com has a CAA record naming only CA B, CA A is refused there even though example.com authorizes it. Run the CAA check on the exact hostname you need a certificate for. The DNS lookup with type CAA shows the raw records per name.
Examples for common CAs
The identifying domain must come from each CA. These values are from their own documentation (see Sources).
| CA | issue value | Source note |
|---|---|---|
| Let’s Encrypt | letsencrypt.org | Let’s Encrypt CAA page |
| Google Trust Services | pki.goog | Google Cloud PKI FAQ |
| DigiCert | digicert.com | CertCentral docs; issuemail for S/MIME |
| Sectigo | sectigo.com (also trust-provider.com, usertrust.com) | Sectigo knowledge base |
| Amazon (ACM) | amazon.com, amazontrust.com, awstrust.com or amazonaws.com | ACM user guide |
A zone that allows Let’s Encrypt for normal names and Google Trust Services for wildcards:
example.com. 3600 IN CAA 0 issue "letsencrypt.org"
example.com. 3600 IN CAA 0 issuewild "pki.goog"
Because issuewild exists, wildcard requests are checked against it only; Let’s Encrypt is refused for *.example.com. If you want both CAs for wildcards, add both under issuewild.
Let’s Encrypt additionally documents restricting issuance to one ACME account with accounturi and to validation methods with validationmethods:
example.com. 3600 IN CAA 0 issue "letsencrypt.org; validationmethods=dns-01"
AWS documents that for ACM, an issuewild record that omits an Amazon CA blocks ACM wildcards, and that ACM ignores iodef.
How to add and check a record
- List which CAs issue for you. Include the one behind your CDN, your hosting panel’s built-in certificates and any certificate monitoring service; each may use a different CA.
- Look at the current state with the CAA check and at the parent names too.
- Add the records at your DNS host. Not every host takes a CAA type in the same form, so check its panel; some want the flags, tag and value in separate fields and add the quotes themselves.
- Test a renewal in a staging or dry-run mode if the CA offers one, rather than waiting for the real expiry.
- If the zone is served by several name servers, use the NS lookup to confirm which ones answer, then verify they all return the same CAA records.
Trade-off: CAA narrows who can issue, but it does not stop an attacker who controls your DNS or your CA account, and a missing CA in the list breaks automatic renewals silently until the next attempt fails. Keep the list short but complete.
FAQ
Do I need a CAA record? No. If a name has no CAA record set anywhere up the tree, any publicly trusted CA may issue. A CAA record is an optional restriction. It reduces the risk of a mis-issuance by a CA you never use, at the cost of maintaining the list when you change providers.
My renewal failed with a CAA error. What do I check?
Look up the CAA records for the exact hostname and each parent, since the first name with CAA wins. Confirm the CA’s identifying domain is in an issue record, or in issuewild for wildcards. Then confirm no stray record sits on a subdomain and overrides the parent.
Does CAA affect certificates that are already issued? No. CAA is checked by the CA at issuance time only, per RFC 8659. Browsers do not read it, so adding or removing a record leaves existing certificates valid until they expire or are revoked. The next renewal or new request is where a wrong list shows up, so test then.
Sources
- RFC 8659, DNS Certification Authority Authorization (CAA) Resource Record: https://www.rfc-editor.org/rfc/rfc8659 (§3 tree climbing, §4.1 flags, §4.2 issue, §4.3 issuewild, §4.4 iodef, §4.5 critical)
- Let’s Encrypt, CAA: https://letsencrypt.org/docs/caa/
- Google Cloud / Google Trust Services, configure CAA: https://developers.google.com/public-key-infrastructure/faq/configure-caa
- DigiCert, manage DNS CAA records: https://docs.digicert.com/en/certcentral/perform-domain-control-validation—dcv-/validate-domains-and-perform-validation-checks/manage-dns-caa-records.html
- Sectigo, CAA record: https://www.sectigo.com/knowledge-base/detail/CAA-Record-Certification-Authority-Authorization-1527076091491
- AWS Certificate Manager, configure a CAA record: https://docs.aws.amazon.com/acm/latest/userguide/setup.html#setup-caa