How to Configure CAA Records and Check Certificate Issuance

Use CAA to specify certificate issuers. Follow the DNS lookup through child names and aliases, then check wildcard rules before changing policy.

FBFenwei BianAuthorNov 24, 2026
  • dns
  • caa
  • tls
  • guide

A CAA record tells a certificate issuer whether the domain's DNS policy authorizes it to issue. Browsers do not use CAA to validate an existing certificate, and changing a record does not revoke one. Plan CAA changes around every service that might request or renew a certificate for your domain.

Write a policy for ordinary names and wildcards

A CAA record has a flags field, a tag, and a value. In a fictional example.test zone, example.test. IN CAA 0 issue "ca.example" authorizes the example issuer. Add a second issue entry if you intend to authorize a second issuer. Replace the placeholder with the identifier the actual issuer publishes. The issuer's website name may differ from its published identifier.

To allow ordinary certificates but block wildcards under the same policy, add example.test. IN CAA 0 issuewild ";". RFC 8659 explains that for a wildcard name, issuewild entries take precedence over issue when at least one issuewild entry exists. An empty issuer value grants authorization to nobody, so the example blocks wildcard issuance when it is the only issuewild entry. The ordinary-name authorization stays in place. If you remove that wildcard entry, the issue rule applies to wildcard issuance as well.

Find the record set the issuer will actually read

Suppose a hosting platform requests a certificate for shop.example.test. If the CAA answer for that name is empty, the issuer checks its parent. It uses the first CAA record set it finds and does not merge child and parent policies. An answer obtained through a DNS alias can also provide that record set. The lookup algorithm in RFC 8659 describes the order.

Check the exact requested name with dig CAA shop.example.test, using your own hostname. If it is empty, inspect any CNAME chain and then check the parent names. Repeat for every certificate identifier. For *.example.test, the wildcard check starts with example.test.

A completed lookup with no effective CAA rules differs from a DNS failure and from an explicit prohibition. If every lookup succeeds and no applicable issue or issuewild restriction exists, CAA does not block issuance. If a lookup yields SERVFAIL, investigate DNS or DNSSEC instead of assuming an unrestricted policy. If the applicable record set excludes the issuer, fix the applicable set or use an authorized issuer.

Check renewals before relying on the policy

Inventory the issuer used by your web host, certificate client, and any separate mail or CDN service with a certificate under the same domain. Confirm the actual issuing authority and whether the service needs wildcards. After publication, compare the authoritative answer with a recursive lookup and run the provider's supported issuance or renewal test. Save the issuer's error and the DNS response together if the test fails.

Sources and further reading

About the author(s)

Software Developer & Writer • Namefi
FBAuthor

Fenwei Bian is a software developer in her thirties who spends her working hours in pull requests and her weekends with her hands in soil or sawdust. Years of open source on GitHub taught her that names are interfaces: a good one is clear, honest about what it does, and kind to whoever has to use it next.

She gardens because it rewards patience and punishes wishful thinking, and she does woodwork because a joint either fits or it doesn't. Both habits show up in how she writes about naming — measure twice, check the source, and don't sand over a rough spot and hope no one notices.

For Namefi she writes about how domain markets actually move, the practical trade-offs of tokenizing and flipping names, and picking a domain you'll still be glad you own in twenty years.

Related guides

Discuss this post

View the discussion on Namefi Discuss