Bridge CDN
On this page
Quick facts
Type code 257
Defined in RFC 8659 (replaces RFC 6844)
Holds A flag, a tag (issue, issuewild, iodef) and a value
Checked by Certificate authorities, at issuance time
In Bridge DNS Manually editable on all plans

CAA record syntax

Each entry has three fields: flags, tag and value.

example.com.  120  IN  CAA  0 issue "letsencrypt.org"
example.com.  120  IN  CAA  0 issuewild ";"
example.com.  120  IN  CAA  0 iodef "mailto:security@example.com"
Field Example Meaning
Flags 0 0 is normal. 128 sets the critical flag: a CA that doesn't understand the tag must refuse to issue
Tag issue Which rule this is
Value "letsencrypt.org" The CA's identifying domain, or ";" for "nobody"

The tags do different jobs:

  • issue allows a CA to issue ordinary certificates for the name.
  • issuewild controls any wildcard certificate, such as *.example.com. If present, it overrides issue for wildcards.
  • iodef gives CAs an address to report refused requests. Most don't send anything, but it costs nothing.

In the example above, one CA may issue regular certificates and nobody may issue wildcards. letsencrypt.org is only a sample identifier here. Use the identifier your CA publishes.

RFC 8657 adds optional parameters, such as validationmethods=dns-01, that narrow an issue entry further. Check that your CA supports them before relying on them.

What does CAA protect against?

The record is a guardrail against mis-issuance. If someone tricks a CA into validating your domain, or a CA you never use makes a mistake, a strict policy stops the certificate before it exists. It's also useful inside larger companies. You can say "only these two authorities" and have every team's tooling respect it.

What it doesn't do: it doesn't affect browsers, and it says nothing about certificates already issued. Browsers never look at it. Only CAs do, and only at the moment of issuance.

How CAs find the policy that applies

A certificate authority checks the exact name in the certificate first. If nothing is published there, it climbs the tree: shop.example.com, then example.com. The first set it finds applies. So one policy at the apex covers every subdomain, unless a subdomain sets its own.

CNAMEs are followed too. If shop.example.com is a CNAME to a platform's hostname, the CA can end up reading the platform's policy for that name.

How to set a CAA policy in Bridge DNS

Certificates for proxied names on Bridge are issued automatically, including apex and wildcard certificates, through ACME DNS-01 validation against Bridge DNS. That has one direct consequence. If you publish any policy, it must allow the CA that issues Bridge certificates. Check the issuer identifier required for your deployment before publishing or tightening the policy.

To add an entry:

  1. Open the zone and choose Add record, type CAA.
  2. Name: @ for the whole domain.
  3. Flags 0, tag issue, value: the CA's identifying domain.
  4. Add a second issue entry for each other CA you use, for example the one that signs certificates on your own servers.
  5. Add issuewild only if you want a different wildcard policy.
  6. Save. The new policy is live on our nameservers within seconds.

How to check a CAA record

dig example.com CAA +short
0 issue "letsencrypt.org"
0 iodef "mailto:security@example.com"

An empty answer means nothing is published at that name. Check the parent too, because CAs climb the tree.

When CAA blocks a certificate

The typical story: someone added a strict DNS CAA policy two years ago, and today a renewal fails with an error that mentions it. Here's the fix, in order:

  1. Read the error. CAs usually name the domain whose CAA refused them.
  2. Run dig <name> CAA for the certificate's name and each parent up to the apex.
  3. Find the set that applies, and add an issue entry for the CA that's trying to issue.
  4. For a wildcard, check whether an issuewild entry exists. It wins over issue.
  5. Retry issuance after the record's TTL has passed. On Bridge, Auto TTL for this type is 120 seconds.

A flag of 128 on a tag the CA doesn't recognise also blocks issuance. Unless you know you need it, use 0.

CAA vs TLSA

Both are about certificates, but they act at different moments. CAA tells authorities who may issue a certificate. TLSA, used for DANE (RFC 6698), tells clients which certificate or key to trust when they connect. TLSA only means something in a zone signed with DNSSEC. The issuance policy works with or without signing, although signing protects the CA's lookup too.

CAA record questions

What is a DNS CAA record?

A DNS CAA entry names the certificate authorities permitted to issue TLS certificates for a domain. Public CAs must check it before issuing and refuse if they aren't listed. It's defined in RFC 8659 as record type 257.

Do I need a CAA record?

No. Without one, any public certificate authority may issue for your domain. Adding one narrows that to the authorities you actually use. On Bridge, it must include the CA behind your proxied certificates.

What is the difference between issue and issuewild?

issue covers regular certificates. issuewild covers wildcard certificates like *.example.com, and when present it replaces issue for wildcards. issuewild ";" forbids wildcards entirely.

Does a CAA record on the root domain cover subdomains?

Yes. CAs climb from the requested name towards the apex and use the first CAA set they find. A subdomain with its own CAA entries overrides the apex policy.

Why did my certificate renewal fail because of CAA?

The policy that applies to the name doesn't list the CA trying to renew. Add an issue entry for that CA, or an issuewild entry for wildcards, then retry after the TTL expires.

For the other record types, see the DNS records overview. To point the domain at a server in the first place, start with IPv4 address records.