Add CAA records
A Certificate Authority Authorization (CAA) DNS record specifies which certificate authorities (CAs) are allowed to issue certificates for a domain. This record reduces the chance of unauthorized certificate issuance and promotes standardization across your organization.
For additional security, set up Certificate Transparency Monitoring as well.
Who should create CAA records?
You should create CAA records in Cloudflare if each of the following is true:
- You uploaded your own custom origin server certificate (not provisioned by Cloudflare).
- That certificate was issued by a CA (not self-signed).
- Your domain is on a full setup (not a CNAME setup).
- When adding new Custom Hostname and your customer has existing CAA records. In this case, ask your customer to remove the existing CAA records or add the missing CAA record.
CAA records added by Cloudflare
Cloudflare adds CAA records automatically in two situations:
- When you have Universal SSL or advanced certificates and add any CAA records to your zone.
- When you have Universal SSL enabled and enable AMP Real URL or SXG Signed Exchanges.
These records make sure Cloudflare can still issue Universal certificates on your behalf.
If Cloudflare has automatically added CAA records on your behalf, these records will not appear in the Cloudflare dashboard. However, if you run a command line query using dig
, you can see any existing CAA records, including those added by Cloudflare (replacing example.com
with your own domain on Cloudflare):
Create CAA records
Create a CAA record for each Certificate Authority (CA) that you plan to use for your domain.
To add a CAA record in the dashboard,
- Log in to the Cloudflare dashboard ↗ and select your account and application.
- Go to DNS > Records.
- Select Add record.
- For Type, select CAA.
- For Name, type your domain.
- Choose a Tag, which specifies the behavior associated with the record.
- For CA domain name, enter the CA name.
- Select Save.
- Repeat for each CA associated with your domain.
To create a CAA record via the API, use this POST endpoint.
Once you have finished creating all the records, you can review them in the list of records appearing under the DNS Records panel.