Xerobit

CAA Record Generator: Authorize Certificate Authorities

A CAA record tells certificate authorities which ones are allowed to issue SSL/TLS certificates for your domain. Use this tool to build the correct DNS syntax for issue, issuewild, and iodef tags. It runs entirely in your browser, so no data is uploaded anywhere.

Authorizes the CA to issue normal certificates.

Authorizes the CA to issue wildcard (*.domain) certificates.

Result

BIND / Zone File Format:
example.com. 3600 IN CAA 0 issue "letsencrypt.org"

Generic DNS Provider Format:
Type: CAA, Flags: 0, Tag: issue, Value: "letsencrypt.org"
  • Issue
    letsencrypt.org
  • TTL
    3,600 s
  1. example.com. 3600 IN CAA 0 issue "letsencrypt.org"

With no issuewild record, the issue record also controls wildcard certificates (RFC 8659). CAA records apply to the domain and all its subdomains unless a subdomain has its own CAA records.

By · Published · How we build and test tools

How to use the caa record generator

  1. Enter your domain name in the first field.
  2. Select a Certificate Authority from the dropdown, or choose Custom to type one manually.
  3. Check issue for standard certificates and issuewild if you need wildcard support.
  4. Optionally add an iodef URL (like mailto:security@example.com) to receive violation reports.
  5. Copy the BIND or generic format lines into your DNS zone. The output updates as you change any field.

What is a CAA record?

A CAA record (Certificate Authority Authorization) is a DNS resource record defined in RFC 8659. It allows a domain owner to specify which certificate authorities are permitted to issue SSL/TLS certificates for that domain. Before issuing a certificate, compliant CAs must check the domain's DNS for CAA records. If a record exists and does not authorize them, they must refuse the request.

This mechanism prevents misissuance. If an attacker tricks a less-strict CA into issuing a certificate for your domain, a properly configured CAA record blocks it at the source. Every public CA is required by the CA/Browser Forum Baseline Requirements to respect these records.

How the CAA record syntax works

The wire format of a CAA record has three parts: a flags byte, a tag, and a value. The most common flag is 0, meaning non-critical. A flag of 128 marks the record as critical, telling CAs that do not understand the tag to refuse issuance.

There are three standard tags:

  • issue: authorizes a CA to issue certificates for the name, including wildcard certificates when no issuewild record exists.
  • issuewild: authorizes a CA to issue wildcard certificates only. If any issuewild record is present, it replaces the issue records for wildcard requests.
  • iodef: specifies a URL (usually mailto: or https:) where CAs should report policy violations.

In BIND zone file format, a complete line looks like this: example.com. 3600 IN CAA 0 issue "letsencrypt.org". The fields are the domain, TTL, class (always IN), type (CAA), flags, tag, and quoted value.

Common CA domains reference

When configuring a CAA record, you must use the exact domain the CA publishes for authorization. Here are the values for major providers:

Certificate AuthorityCAA Domain Value
Let's Encryptletsencrypt.org
DigiCertdigicert.com
Sectigo (formerly Comodo)sectigo.com
GlobalSignglobalsign.com
Amazon Web Services (ACM)amazonaws.com
Google Trust Servicespki.goog

If you use multiple CAs, you must publish a separate CAA record for each one. DNS resolvers return all records of a given type, and the CA checks whether its own domain appears in any of them.

Blocking all certificate issuance

To prevent any CA from issuing certificates for a domain, publish a CAA record with an empty value for the issue tag. In zone file syntax, this is written as example.com. 3600 IN CAA 0 issue ";". The semicolon terminates the property list, leaving the authorized CA list empty.

This is useful for internal domains, parked domains, or environments where certificates are managed through a private PKI rather than public CAs. With no issuewild record, the empty issue record also blocks wildcard certificates. Publishing an issuewild ";" record as well makes the intent explicit, and this tool can write both lines when you tick issue and issuewild with an empty custom CA.

Interaction with other DNS security records

A CAA record controls certificate issuance, but it works alongside other DNS-based security mechanisms. For email authentication, you configure SPF using an SPF record generator, DKIM keys via a DKIM record generator, and aggregate policies with a DMARC record generator.

While those records protect email delivery, CAA protects the TLS layer. Together they form a defense-in-depth strategy: SPF, DKIM, and DMARC stop email spoofing, while CAA stops unauthorized certificate issuance that could enable man-in-the-middle attacks on your web traffic.

Common mistakes to avoid

Several errors frequently break CAA configurations. First, forgetting that issuewild overrides issue for wildcard requests. If you authorize Let's Encrypt with issue but another CA with issuewild, only the second CA can issue wildcards.

Second, placing CAA records only on the apex domain when you need them on subdomains. CAA lookup follows CNAME chains and walks up the domain tree, but explicit records on subdomains take precedence. Third, using the wrong CA domain string. Typing letsencrypt.com instead of letsencrypt.org will silently block Let's Encrypt from issuing certificates.

Finally, omitting the trailing dot on fully qualified domain names in BIND zone files causes the zone origin to be appended twice, resulting in an invalid record.

Worked examples

ExampleInputResult
Let's Encrypt for example.comDomain name: example.com; Certificate Authority: letsencrypt.org; Allow standard certificates (issue): yes; Allow wildcard certificates (issuewild): no; TTL (seconds): 3600Issue: letsencrypt.org; TTL: 3,600 s
Wildcard with DigiCert and reportingDomain name: shop.example.com; Certificate Authority: digicert.com; Allow standard certificates (issue): yes; Allow wildcard certificates (issuewild): yes; Report violations to (iodef URL): mailto:admin@example.com; TTL (seconds): 86400Issue: digicert.com; Issue Wildcard: digicert.com; Violation Report: mailto:admin@example.com; TTL: 86,400 s
Block all issuersDomain name: internal.corp; Certificate Authority: custom; Allow standard certificates (issue): yes; Allow wildcard certificates (issuewild): no; TTL (seconds): 300Issue: Blocked (none); TTL: 300 s

FAQ

Do I need a CAA record?

You are not required to have one, but without it any public certificate authority can issue certificates for your domain. Adding a CAA record limits issuance to the CAs you trust.

Can I authorize more than one certificate authority?

Yes. Publish one CAA record per authorized CA. All records with the same tag are evaluated together, and any listed CA may issue certificates.

What happens if my CA is not listed in the CAA record?

The CA must refuse to issue the certificate. You will see an error during the certificate request process until you add the correct CAA record or switch to an authorized CA.

Does a CAA record on the root domain apply to subdomains?

Yes, CAA lookups walk up the DNS tree. A record on example.com applies to sub.example.com unless the subdomain has its own CAA record or a CNAME pointing elsewhere.

What is the difference between issue and issuewild?

The issue tag authorizes certificates for the name, and also wildcards when there is no issuewild record. The issuewild tag authorizes wildcard certificates only, and if it is present it takes priority over issue for wildcard requests.

How long does it take for a CAA record to propagate?

Propagation depends on your TTL setting. Most DNS changes are visible within minutes, but resolvers may cache old results up to the TTL duration.

Is this tool safe to use?

Yes. The CAA record generator runs entirely in your browser. Your domain name and settings are never sent to any server.

Does this tool check which CAA records my domain already has?

No. It only writes new records from the values you enter and never queries DNS, so check your existing records first: an old record for a different CA keeps authorizing it until you remove it.