CAA record at a glance

FieldValue
Type code257
Defined inRFC 8659
ValueFlags, a tag and a value, such as 0 issue "letsencrypt.org"
Allowed at the apexYes, and that is where most domains publish it
Applies toThe name and, unless overridden, every name below it

Here is how a CAA record looks in a zone file:

example.com.  3600  IN  CAA  0 issue "letsencrypt.org"
example.com.  3600  IN  CAA  0 issue "digicert.com"
example.com.  3600  IN  CAA  0 issuewild ";"
example.com.  3600  IN  CAA  0 iodef "mailto:[email protected]"

This set lets two CAs issue normal certificates, forbids wildcard certificates from every CA, and gives CAs an address for reporting refused requests.

The tags

TagEffect
issueAuthorizes one CA to issue certificates, including wildcards unless issuewild is present. Several records add up.
issuewildOverrides issue for wildcard certificates only. ";" forbids them.
iodefWhere a CA may report a request it refused. It restricts nothing.

The leading number is the flags field. 128 marks a tag as critical, which tells a CA that does not understand the tag to refuse issuance rather than ignore it. Leave it at 0 unless you know you need it.

How a CA finds the record

The CA looks for CAA at the exact name in the certificate request. If there is none, it climbs one label at a time towards the root and uses the first CAA set it finds. So a record at example.com also covers www.example.com and api.eu.example.com, unless one of them publishes its own. That is why a CAA lookup on a subdomain often returns nothing even when a policy applies. Follow CNAMEs too: if shop.example.com is a CNAME, the CA checks CAA at the target.

The CAA records deep dive covers parameters such as account binding and the failure cases that block issuance.

How to look up a CAA record

Each tool below sends the query to your default resolver unless you name a server. Swap in your own domain for example.com, and add a public resolver such as 1.1.1.1 to compare answers with what your network sees. Because CAs climb the tree, check the parent names too when a subdomain shows no CAA.

dig (macOS, Linux, WSL)

CommandWhat it does
dig example.com CAAThe CAA set, with TTL
dig +short example.com CAAFlags, tag and value for each record
dig +short www.example.com CAACheck whether a subdomain overrides the apex policy (no output means it inherits)
dig +short example.com TYPE257The same query for an old dig that does not know the CAA name

nslookup (Windows, macOS, Linux)

CommandWhat it does
nslookup -type=CAA example.comThe CAA set, on macOS and Linux
nslookup -type=TYPE257 example.comThe generic form, for builds that do not know the CAA name

PowerShell (Windows)

CommandWhat it does
(Invoke-RestMethod 'https://dns.google/resolve?name=example.com&type=257').AnswerThe CAA set from Google Public DNS, as objects with a data field
(Invoke-RestMethod 'https://dns.google/resolve?name=www.example.com&type=257').AnswerCheck a subdomain
nslookup -type=CAA example.comnslookup also runs from PowerShell, where your build supports CAA
CAA and PowerShell

Resolve-DnsName has no CAA value for -Type; its list stops at older types such as DS, DNSKEY and NSEC3. The Invoke-RestMethod rows ask Google Public DNS over HTTPS instead, using the type number 257, so they show what a public resolver sees rather than your own network. Running nslookup from PowerShell also works where your nslookup decodes the type.

Common mistakes

  • Leaving out a CA a provider uses on your behalf. CDNs and hosted platforms often get certificates for your names from their own CA. Check their documentation first.
  • Using a product name instead of the CA domain. The value is the CA’s identifier, such as letsencrypt.org or sectigo.com.
  • Forbidding wildcards when you use them. issuewild ";" blocks every wildcard certificate, including renewals.
  • Broken DNSSEC. A CAA lookup that fails with SERVFAIL on a signed zone stops issuance.

CAA records in Domain Visualizer

Domain Visualizer looks up CAA at the apex on every scan and lists each record in the detail panel. When there are none, Security Posture reports a best-practice finding.

FAQ

Is a CAA record required?

No. Without one, any publicly trusted CA may issue for your domain after validating control. CAA narrows that choice so a CA you never use cannot issue a certificate for you by mistake.

Does CAA affect certificates that already exist?

No. CAs check CAA only when they issue. Existing certificates stay valid until they expire or are revoked.

Do I need a separate CAA record for www?

Not usually. CAs climb from www.example.com to example.com, so the apex record covers it. Publish one at www only to set a different policy there.

Sources and further reading