Record type reference
CAA Record
A CAA (Certification Authority Authorization) record lists the certificate authorities allowed to issue TLS certificates for a domain. Public CAs must check it before issuing, and refuse when they are not listed.
CAA record at a glance
| Field | Value |
|---|---|
| Type code | 257 |
| Defined in | RFC 8659 |
| Value | Flags, a tag and a value, such as 0 issue "letsencrypt.org" |
| Allowed at the apex | Yes, and that is where most domains publish it |
| Applies to | The 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
| Tag | Effect |
|---|---|
| issue | Authorizes one CA to issue certificates, including wildcards unless issuewild is present. Several records add up. |
| issuewild | Overrides issue for wildcard certificates only. ";" forbids them. |
| iodef | Where 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)
| Command | What it does |
|---|---|
| dig example.com CAA | The CAA set, with TTL |
| dig +short example.com CAA | Flags, tag and value for each record |
| dig +short www.example.com CAA | Check whether a subdomain overrides the apex policy (no output means it inherits) |
| dig +short example.com TYPE257 | The same query for an old dig that does not know the CAA name |
nslookup (Windows, macOS, Linux)
| Command | What it does |
|---|---|
| nslookup -type=CAA example.com | The CAA set, on macOS and Linux |
| nslookup -type=TYPE257 example.com | The generic form, for builds that do not know the CAA name |
PowerShell (Windows)
| Command | What it does |
|---|---|
| (Invoke-RestMethod 'https://dns.google/resolve?name=example.com&type=257').Answer | The CAA set from Google Public DNS, as objects with a data field |
| (Invoke-RestMethod 'https://dns.google/resolve?name=www.example.com&type=257').Answer | Check a subdomain |
| nslookup -type=CAA example.com | nslookup also runs from PowerShell, where your build supports CAA |
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.