CAA record
A CAA (Certification Authority Authorization) record is published at a domain to tell certificate authorities which of them are permitted to issue TLS certificates for that domain.
In plain English
Without CAA, any of the hundreds of trusted CAs can issue a certificate for your domain if someone tricks them. With CAA you publish, for example, "only Let's Encrypt may issue for example.com," and every well-behaved CA must refuse if it sees a contradicting CAA record.
How it works
CAA is defined in RFC 8659 (which superseded RFC 6844) with type code 257. The rdata contains a flags byte, a tag (issue, issuewild, or iodef), and a value. issue lists CAs allowed to issue any certificate, issuewild controls wildcards specifically, and iodef provides a contact URL for the CA to use when a request is denied. CAs are required by the CA/Browser Forum baseline requirements to check CAA before issuance; the check happens on the FQDN and climbs up the DNS tree to the parent zones if no CAA is present, stopping at the first label that has any CAA. CAA may be signed with DNSSEC and is best published at the apex of any domain that is allowed to receive certificates. Modern parameters include accounturi and validationmethods to pin CAA to specific ACME accounts.
Related terms
- DNS — base protocol
- TXT record — older, less structured cousin
- DNSSEC — signs CAA for tamper protection
- Authoritative DNS — where you publish CAA
- TTL — controls CAA caching
- A record — what the cert ultimately protects
SecDNS perspective
The SecDNS zone editor includes a CAA template that pins issuance to a list of CAs you choose, signs the record with DNSSEC, and warns when an apex domain has no CAA.