Skip to content
Domains and DNS2 min read

What is a CAA record?

Short answer

A CAA record is a DNS record that names the certificate authorities (CAs) allowed to issue SSL certificates for your domain. When one exists, every CA not listed in it must refuse to issue a certificate.

ArabyHost teamLast updated: ShareWhatsAppXLinkedIn
Contents
  1. How a CAA record works
  2. Practical example
  3. Common mistakes
  4. On ArabyHost

CAA adds a small but useful layer to SSL security. Instead of letting any certificate authority in the world issue a certificate for your domain, you publish in DNS the names of the CAs you trust. Public CAs have been required to check this record before every issuance since 2017.

How a CAA record works

When someone requests a certificate for shop.example.com, the CA looks for a CAA record on that name and, if there is none, moves up to example.com. If it finds a record that doesn’t list it, it refuses. Each record has three parts: a flag (usually 0), a tag, and a value.

Tag What it does Example value
issue Allows a CA to issue regular certificates "letsencrypt.org"
issuewild Allows a CA to issue wildcard certificates like *.example.com "letsencrypt.org"
iodef Where to report requests that break the policy "mailto:[email protected]"

Practical example

If your site’s certificates come only from Let’s Encrypt, add this in your DNS editor:

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

Using more than one CA, say a paid certificate from another vendor? Add a separate issue line for each. To confirm the result, run dig CAA example.com +short or use the DNS lookup tool.

Common mistakes

  • Leaving out your host’s CA: you add a CAA record for your old certificate vendor only, automatic renewals from your host start failing, and you run into something like AutoSSL failed.
  • Writing it as TXT: CAA is its own record type; it does nothing as a TXT record.
  • Blocking wildcards by accident: issuewild ";" forbids every CA from issuing wildcard certificates.
  • Expecting it to stop hacks: CAA only reduces the risk of a rogue certificate. It doesn’t replace keeping your site updated and protected.

On ArabyHost

SSL certificates are issued free and automatically through AutoSSL and Let’s Encrypt. You don’t need a CAA record for that to work, but if you add one, make sure it includes 0 issue "letsencrypt.org" so automatic renewals keep working. When your domain points to ns1.arabicode.com and ns2.arabicode.com, you can add the record from the control panel’s DNS editor.

FAQ

Is a CAA record required?

No. Without a CAA record any trusted CA may issue a certificate for your domain. It's optional, and adds protection against certificates being issued without your knowledge.

Why did my SSL certificate stop renewing after I added a CAA record?

Most likely the record doesn't include the CA your host uses. If your certificates come from Let's Encrypt, the record must allow letsencrypt.org.

Does a CAA record cover subdomains?

Yes. A record on the main domain applies to its subdomains unless a subdomain has its own CAA record.

Useful? Share it with someone who needs it:WhatsAppXLinkedIn

Read next

Ready to put your idea online?

Fast, isolated hosting, support that understands you, and an AI assistant that fixes problems with you.