CHOOSE YOUR CERTIFICATE ISSUERS

CAA records: what they restrict, how issue, issuewild and iodef work, and how to add them without breaking certificate renewals

A CAA record is a short DNS entry that names the certificate authorities allowed to issue certificates for your domain. It takes minutes to publish, but a record that forgets your CDN, cloud load balancer or a SaaS vendor will stop their next renewal. This guide covers the tags, how CAs read the record, how to inventory your issuers and how to verify everything with dig.

Concept illustration of an ivory ceramic tray holding a translucent glass plate with shaped slots: two copper seal stamps sit in mint-glowing round and hexagonal slots, while other copper stamps of different shapes stand on the tray around the plate, on a charcoal background.
Concept illustration

Any publicly trusted certificate authority can, in principle, issue a certificate for your domain once someone proves control of it. A CAA record (Certification Authority Authorization, defined in RFC 8659) narrows that list. It is a DNS entry that says, in effect, "only these CAs may issue certificates for this name". Publicly trusted CAs are required to look it up before they issue, and to refuse if they are not on the list.

CAA is a small, cheap layer of defence in depth. It does not encrypt anything, browsers never read it, and it does not touch certificates that already exist. What it does is reduce the number of places where a mis-issued certificate for your domain could come from, for example after a weak validation at a CA you have never used.

The catch is that modern sites get certificates from more places than their owners remember: the CDN, a cloud load balancer, the hosting platform, a help desk or status page on a custom subdomain. A CAA record that forgets one of them breaks that provider's next renewal, often weeks later. This guide explains the tags, how CAs find the record, how to build an inventory of your issuers, how to publish records safely and how to verify them with dig. All examples use example.com.

Scope of this guide

This guide covers public DNS and publicly trusted CAs. CAA only governs new issuance by CAs bound by the Baseline Requirements. Sitelemetry checks whether a CAA record exists at the exact hostname scanned, not its contents, and is not a pentest.

1. What a CAA record restricts, and what it does not

A CAA record is a DNS resource record (type 257) published at a domain name. When a publicly trusted CA receives a request for a certificate covering example.com or shop.example.com, it looks up the CAA records that apply to that name. If records exist and none of them authorises that CA, it must not issue. If no CAA record exists anywhere on the path, any CA may issue, which is the default state of most domains. The Sitelemetry finding dns.caa.missing reports a missing record at the exact hostname scanned; section 10 explains how that differs from the CA lookup.

Be precise about the limits:

  • It is checked at issuance only. Adding or changing a record does not revoke or invalidate certificates that were already issued.
  • Browsers do not check it. A visitor's browser never looks at CAA. The control lives entirely in the CA's issuance process.
  • It binds CAs that follow the rules. Publicly trusted CAs are required to honour it. It cannot stop a CA that ignores the rules, a private CA inside a company network, or someone who has taken over your DNS and can simply edit the record.
  • It is not monitoring. CAA prevents some issuance; it does not tell you what was issued. For that, watch Certificate Transparency logs, described in section 4 and in the MDN overview.

In everyday terms: CAA is like telling the locksmiths in town that only two of them may cut keys for your building. It does nothing about keys already cut, and it relies on the locksmiths following the agreement, but it closes off a lot of casual risk for almost no effort.

2. Anatomy of a record: flags, issue, issuewild and iodef

Each CAA record has three parts: a flags byte, a tag and a value. In zone-file form:

example.com.  3600  IN  CAA  0 issue "letsencrypt.org"
example.com.  3600  IN  CAA  0 issuewild ";"
example.com.  3600  IN  CAA  0 iodef "mailto:security@example.com"

Most DNS dashboards show the same three parts as separate fields: flags (usually 0), tag (chosen from a menu) and value (the CA domain or URL, often without quotes).

TagWhat it controlsExample valueNotes
issueWhich CAs may issue certificates for the name; also wildcard certificates if no issuewild exists"letsencrypt.org"One record per CA. The value ";" alone means no CA is authorised.
issuewildWhich CAs may issue wildcard certificates such as *.example.com"pki.goog"When present, wildcard requests are judged only by issuewild records; issue is ignored for them.
iodefWhere a CA may report a request that the record blocked"mailto:security@example.com"Reporting is optional for CAs and support varies, so do not treat it as monitoring.

The flags field is normally 0. Setting it to 128 marks the record as critical: a CA that does not understand the tag must then refuse to issue. Use it only for a tag you know your CA supports; with the three standard tags there is no reason to set it.

The issue value can carry parameters after the CA domain, separated by semicolons, for example "letsencrypt.org; validationmethods=dns-01". Section 7 covers them. Two details trip people up: values are matched against the identifier the CA publishes, not the brand name on the certificate, and adding a single issuewild record changes how every wildcard request is judged.

3. How a CA finds the record: tree climbing and CNAMEs

RFC 8659 tells the CA to start at the exact name in the certificate and climb towards the root until it finds a non-empty set of CAA records. For a certificate covering api.eu.example.com, the CA queries:

  1. api.eu.example.com
  2. eu.example.com
  3. example.com
  4. com

The first name that returns CAA records wins, and only that set counts; records at higher levels are not merged in. In practice this gives you two useful patterns:

  • Publish once at the apex. Records at example.com cover every subdomain that has no records of its own.
  • Override for one subdomain. If status.example.com is run by a vendor with a different CA, records published at status.example.com replace the apex set for that name. Remember to list every CA that name needs, because nothing is inherited from above.

CNAMEs add one twist. A CAA query for a name that is an alias is resolved like any DNS query, so if help.example.com is a CNAME to example.vendor-host.net and that target publishes CAA records, those records are what the CA receives for help.example.com. If the target publishes none, the CA continues climbing from your own name, and your apex records apply. That is the most common way a new CAA record breaks a SaaS integration: the vendor issues certificates for your subdomain through a CA your apex record does not list.

4. Find every CA you already use

Before you publish anything, build a list of every certificate issued for your domain and its subdomains, and which CA issued it. Three sources together give a reliable picture.

Certificate Transparency logs

Publicly trusted CAs log the certificates they issue in public Certificate Transparency logs. Search those logs for your domain, including subdomains, with a CT search service such as crt.sh. Look at the issuer of every certificate from roughly the last year, because that covers at least one renewal cycle for most providers. Expect surprises: certificates for staging hosts, marketing landing pages and old vendor integrations often show up here.

The certificates you actually serve

For each live hostname, read the issuer and expiry directly:

openssl s_client -connect example.com:443 -servername example.com </dev/null 2>/dev/null | openssl x509 -noout -issuer -enddate

Repeat for www, the API host, the mail server names and every subdomain in your DNS zone that serves HTTPS. The issuer line shows the CA organisation; you will map it to a CAA identifier in the next section.

Provider documentation

Managed certificates are the blind spot, because the provider may switch between several CAs or change CA at renewal. Check the documentation of:

  • your CDN or reverse proxy (for example, Cloudflare's CAA page lists the CAs it uses for edge certificates and how CAA interacts with them);
  • cloud certificate services such as AWS Certificate Manager, which documents the values it accepts;
  • your hosting platform, website builder or e-commerce platform;
  • every SaaS tool on a custom subdomain: help desk, status page, docs, email link tracking, landing pages;
  • mail infrastructure, including the mta-sts host if you publish an MTA-STS policy.

Where a provider says it may use more than one CA, list all of them. A record that matches today's certificate but not the provider's fallback CA fails at an unpredictable moment.

5. Map each CA to its CAA identifier

The value in an issue or issuewild record is the domain name the CA publishes as its CAA identifier, not the name printed on the certificate. Every publicly trusted CA states the identifiers it recognises in its policy documents. Common ones:

Where certificates come fromValue to put in issue / issuewildWhere to confirm
Let's Encrypt (Certbot, most hosting panels, many CDNs)letsencrypt.orgLet's Encrypt CAA documentation
Google Trust Services (Google Cloud managed certificates, some CDNs)pki.googGoogle Trust Services documentation
AWS Certificate ManagerAny one of amazon.com, amazontrust.com, awstrust.com, amazonaws.comACM CAA guide
DigiCertdigicert.comDigiCert policy documents
Sectigosectigo.comSectigo policy documents
GlobalSignglobalsign.comGlobalSign policy documents

Resellers and platforms often issue through one of these CAs under their own brand. When in doubt, take the issuer from the actual certificate, then confirm the identifier with the CA or the provider's documentation rather than guessing from the brand name.

6. How to add CAA records without breaking renewals

The risk with CAA is never the day you publish it; it is the next renewal at a provider you forgot. Roll it out like this:

  1. Finish the inventory from sections 4 and 5, including subdomains served by vendors.
  2. Lower the TTL for the new records, for example to 300 seconds, so a correction reaches CAs quickly.
  3. Publish one issue record per CA at the apex. Multiple records are combined: any listed CA is authorised.
  4. Decide on wildcards. If you use no wildcard certificates, 0 issuewild ";" forbids them. If you do, add an issuewild record for each CA that issues them. If you add no issuewild at all, your issue records govern wildcards too.
  5. Add an iodef record if you want reports from CAs that send them, pointing to a monitored mailbox.
  6. Add overrides for subdomains that need a different set, listing every CA that subdomain requires.
  7. Test issuance where you can: request or renew a certificate through each provider you can trigger manually, and use a staging or dry-run mode if your ACME client offers one.
  8. Calendar the next renewals of managed certificates and check them as they happen. Once everything has renewed cleanly, raise the TTL again.

A typical record set for a site using Let's Encrypt on its own servers and a CDN that uses Google Trust Services, with no wildcards:

example.com.  300  IN  CAA  0 issue "letsencrypt.org"
example.com.  300  IN  CAA  0 issue "pki.goog"
example.com.  300  IN  CAA  0 issuewild ";"
example.com.  300  IN  CAA  0 iodef "mailto:security@example.com"

And a vendor-hosted status page that needs another CA:

status.example.com.  300  IN  CAA  0 issue "sectigo.com"

When you later change CA, update CAA first, confirm the new record is live, and only then switch the provider. Most current DNS hosts support the CAA type in their dashboard or API; if yours offers no CAA option, ask before assuming it is impossible, and consider moving DNS if it truly is not supported.

7. Optional hardening: accounturi and validationmethods

RFC 8657 defines two parameters for CAs that issue through the ACME protocol, such as Let's Encrypt:

  • accounturi limits issuance to a specific ACME account. Even someone who can pass validation for your domain cannot get a certificate from that CA without your account.
  • validationmethods limits which validation methods the CA may use, for example only dns-01.
example.com.  300  IN  CAA  0 issue "letsencrypt.org; accounturi=https://acme-v02.api.letsencrypt.org/acme/acct/123456789; validationmethods=dns-01"

The account number above is a placeholder; your ACME client stores the real account URL in its configuration. These parameters are powerful but brittle. Re-registering the client, moving servers or letting a hosting panel create its own account will break issuance, and a CDN that obtains Let's Encrypt certificates for you uses its own account, not yours. Support for these parameters also depends on the CA, as described in each CA's documentation. Use them only for CAs and accounts you control end to end, and remove any plain issue record for the same CA only once you are sure no other system relies on it, because a plain record still authorises every account and validation method of that CA.

8. Verify with dig

Query the apex first:

dig +short example.com CAA

Expected output for the example above:

0 issue "letsencrypt.org"
0 issue "pki.goog"
0 issuewild ";"
0 iodef "mailto:security@example.com"

Then check the subdomains that matter, and ask your authoritative name servers directly so that a resolver cache does not hide a mistake:

dig +short status.example.com CAA
dig +short NS example.com
dig @ns1.your-dns-host.example example.com CAA

Read the full answer (without +short) when the result is empty, because the status line tells you why:

What dig showsWhat a CA concludesWhat to do
CAA records at the nameThis set applies; the CA must be listedConfirm every provider for that name is present
status: NOERROR, no answer, at a subdomainClimbs to the parent nameQuery the parent and the apex
A CNAME followed by CAA recordsThe alias target's set appliesMake sure the vendor's own CAA covers its CA
status: SERVFAIL or a timeoutThe lookup failed; CAs may refuse to issueFix the DNS host or DNSSEC configuration
No CAA anywhere up to the apexAny publicly trusted CA may issuePublish records; this is the dns.caa.missing state

dig ships with the BIND utilities on Linux and macOS; on Windows it is available through the BIND tools or the Windows Subsystem for Linux. Run the checks again after every change of DNS host, CDN or certificate provider.

9. When issuance fails after adding CAA

A CAA problem usually appears as a renewal error that mentions CAA, or as a provider dashboard showing a certificate stuck in a pending or failed state. Work through these causes in order:

  • The CA is missing. Compare the identifier the provider needs with your records. A frequent case is a CDN or platform that switched CA, or uses a second CA as fallback.
  • A wildcard is blocked. You added issuewild ";" or an issuewild for one CA, and another provider requests *.example.com.
  • A subdomain override is incomplete. Records at a subdomain replace the apex set entirely, so a CA allowed at the apex is not allowed there unless you list it again.
  • A CNAME target has its own records. The vendor's CAA, not yours, now governs that name; ask the vendor.
  • The lookup fails. Let's Encrypt's documentation notes that DNS servers which answer CAA queries with an error, rather than an empty answer, can block issuance. Broken DNSSEC signatures have the same effect.
  • A parameter does not match. An accounturi or validationmethods value no longer matches the account or method the client uses.

Fix the record, wait for the TTL to expire, then retry the issuance. Existing certificates keep working in the meantime, so a failed renewal leaves you a window until expiry, which is a good reason to watch renewal dates rather than discover the problem when browsers start warning.

10. What Sitelemetry checks for CAA

CAA is part of the dns-email security module, alongside SPF, DMARC and MTA-STS (see the MTA-STS setup guide). It is a passive DNS lookup that runs in every scan profile on the Free ($0), Starter ($49/month), Professional ($149/month) and Enterprise ($249/month) plans. It needs no ownership verification by itself: the free Launch Readiness Snapshot and a Free account's security audit of an unverified site both run it, while a default security audit on a paid plan also runs checks that need a verified target.

  • The module asks for CAA records at the exact hostname you scan, for example www.example.com, and does not climb to the parent domain the way a CA does. If no record comes back, it reports dns.caa.missing ("No CAA certificate authority policy observed") with low severity and the evidence "No CAA record".
  • The finding is reported with medium confidence. A failed lookup is treated the same as an empty answer, so if you know a record exists, confirm it with dig and run the scan again. If your records sit at the apex and you scanned a subdomain such as www, the finding can appear even though CAs would find the apex records; confirm with dig and scan the apex domain. The scanned name must resolve to an address: if it has no A or AAAA record, the scan stops at the DNS step with dns.resolve.failed before this lookup runs, so rely on the dig steps in section 8.
  • It checks for presence only. It does not evaluate which CAs you list, whether they match your current certificates or managed providers, your issuewild or iodef records, subdomain overrides, or the full tree climbing and CNAME handling a CA performs. Use the inventory and dig steps above for that.

For the rest of the DNS picture, read the DNS and email security audit guide; for the certificates themselves, see the TLS and security headers guide. Sitelemetry is an automated audit tool, not a penetration test or a compliance attestation.

Common questions

What is a CAA record in simple terms?

It is a DNS record that lists the certificate authorities allowed to issue TLS certificates for your domain. Publicly trusted CAs must check it before issuing and refuse if they are not listed. If no CAA record exists, any publicly trusted CA may issue.

How do I add a CAA record?

First list every CA that issues certificates for your domain, including CDNs, cloud load balancers and SaaS tools on subdomains. Then, in your DNS host, add one record per CA with flags 0, tag issue and the CA's identifier as value, for example letsencrypt.org. Add issuewild records if you use wildcards, keep a short TTL at first and verify with dig.

Will adding a CAA record break my existing certificates?

No. CAs check CAA only when they issue a certificate, so existing certificates keep working until they expire. The risk is at the next renewal: if a provider's CA is not listed, that renewal fails. Inventory your providers and watch the first renewals after the change.

Do I need a separate CAA record for every subdomain?

Usually not. CAs climb from the requested name towards the root and use the first CAA set they find, so records at the apex cover all subdomains without their own. Add records at a subdomain only when it needs a different set of CAs, and list every CA it needs, because nothing is inherited.

Is a missing CAA record a security vulnerability?

It is a missing layer of defence in depth rather than a flaw that exposes your site on its own. Sitelemetry reports it with low severity. Without CAA, any publicly trusted CA can issue for your domain if validation succeeds. CAA narrows that list; Certificate Transparency monitoring tells you what was actually issued.

Sources & further reading

  1. RFC 8659: DNS Certification Authority Authorization (CAA) Resource Recordwww.rfc-editor.org
  2. RFC 8657: CAA Record Extensions for Account URI and ACME Method Bindingwww.rfc-editor.org
  3. Let's Encrypt: Certificate Authority Authorization (CAA)letsencrypt.org
  4. AWS Certificate Manager: (Optional) Configure a CAA recorddocs.aws.amazon.com
  5. Cloudflare SSL/TLS: Certification Authority Authorization (CAA) recordsdevelopers.cloudflare.com
  6. MDN: Certificate Transparencydeveloper.mozilla.org
Sitelemetry team

Prepared by the Sitelemetry editorial team. Explore the linked sources for further detail.

SITELEMETRY

Put what you learned to work.

Explore your website’s structure, settings and signals with Sitelemetry.