DNS CAA Records

DNS CAA Records

December 5, 2026·bill
bill

What if some other CA issued a cert for my domain erke.io? What could they do with that? Surely, they could impersonate me or anything running on my domain. That seems like a bad thing and we’d want to try and prevent it, right? With the recent CA compromise, we can see not every CA acts responsibly.

There are a few DNS records you can add on your domain to show who you think should be issuing your certs.

erke.io.  CAA  0 issue "letsencrypt.org"
erke.io.  CAA  0 issuewild "letsencrypt.org"
erke.io.  CAA  0 iodef "mailto:admin@erke.io"

Looking at these, in order:

  • The first one says only letsencrypt can issue certs for the domain (no wildcards).
  • The second says all subdomains must be issued by letsencrypt.
  • The third provides a contact address, just in case a violation was found.

All of this assumes the participating CAs are adhering to the rules outlined in the baseline requirements for TLS which obligates CAs to never issue a cert for a domain unless the CA appears in the CAA record of the domain itself. All the respectable CAs adhere closely to these rules.

Now, if you look at my domain you can see I’ve added these three records. In theory, this would make it more difficult for a CA to sign a cert for any part of this domain.

$ dig CAA erke.io +short
0 issuewild "letsencrypt.org"
0 issue "letsencrypt.org"
0 iodef "mailto:admin@erke.io"

That seems like a pretty good thing to have. I’ll try it out for a while.