CAA Records
A CAA record lists the certificate authorities allowed to issue certificates for your domain.
Certificate authorities check this policy before issuing a certificate.
Fields
Section titled “Fields”| Field | Example | Notes |
|---|---|---|
| Name | @ | Usually the apex. Applies to the domain and below. |
| Type | CAA | |
| Content | 0 issue "letsencrypt.org" | Flags, tag, and value. |
| TTL | 14400 | Seconds. |
The value has three parts: flags (usually 0), a tag (issue, issuewild, or iodef),
and a quoted value (the CA’s domain, or a contact URL for iodef).
Create
Section titled “Create”Console (zone-file view):
@ CAA 0 issue "letsencrypt.org" 14400@ CAA 0 iodef "mailto:security@example.com" 14400CLI (wrap the value so the quotes reach the record):
zcp dns record-create --domain examplecom --name @ --type CAA --content '0 issue "letsencrypt.org"'API: POST with
{ "name": "@", "type": "CAA", "content": "0 issue \"letsencrypt.org\"", "ttl": 14400 }.
Verify
Section titled “Verify”dig CAA example.com +short# 0 issue "letsencrypt.org"issueallows a CA to issue non-wildcard certificates.issuewildcovers wildcard certificates.iodefsets a contact for policy-violation reports.- Allow every CA you use. If you get certificates from more than one CA, add an
issuerecord for each. Unlisted certificate authorities must refuse issuance. - No CAA record means no restriction. Without a
CAArecord, no policy restricts certificate issuance.
See also: TXT records, Worked examples, Record types