CAA records should control certificate authority permission, while TXT records should handle domain proof and policy signals. CAA is a DNS resource record that tells certificate authorities which providers may issue TLS certificates for a domain, as defined in RFC 8659 [source: IETF]. TXT records are more general. They carry text values for SPF, DKIM, DMARC, Google verification, Microsoft 365, and many other services.
TLDR: A CAA record says, “Only this certificate authority may issue certificates for this domain.” For example, example.com. CAA 0 issue "letsencrypt.org" allows Let’s Encrypt to issue standard TLS certificates for example.com. A SaaS company managing 40 customer domains could reduce certificate approval confusion by 60% simply by using one approved CA across all domains. TXT records still matter, but they are not the right tool for restricting certificate issuance.
Contents
CAA record example and what it means
A basic CAA record looks simple, but each part has a job:
example.com. 3600 IN CAA 0 issue "letsencrypt.org"
- example.com. is the domain being protected.
- 3600 is the TTL, measured in seconds.
- IN is the DNS class.
- CAA is the record type.
- 0 is the flag value.
- issue allows a CA to issue normal certificates.
- “letsencrypt.org” identifies the approved certificate authority.
With this record, a public CA must check DNS before issuing a certificate. If the CA is not listed, it should refuse issuance. That one rule blocks many sloppy certificate requests before they become real trouble.
CAA vs TXT records: the short version
CAA records are for certificate issuance control. TXT records are for carrying plain text instructions, tokens, and email security policies. They are both stored in DNS, so they often sit beside each other in the same control panel. That is where the confusion begins.
A DNS zone might contain records like these:
example.com. 3600 IN CAA 0 issue "digicert.com"
example.com. 3600 IN TXT "v=spf1 include:_spf.google.com ~all"
_dmarc.example.com. 3600 IN TXT "v=DMARC1; p=quarantine; rua=mailto:dmarc@example.com"
The CAA record controls which CA can issue certificates. The TXT records help mail servers decide whether email from the domain should be trusted. Mixing those jobs is a mistake. Honestly, it feels like some DNS dashboards make this worse by hiding CAA records three screens below the common TXT editor.
Why CAA records matter for domain security
CAA records reduce the chance of an unwanted certificate being issued. That matters because a valid certificate can make a fake site look more trustworthy. Users see HTTPS and may assume the site is safe. That is not always true.
CAA does not stop phishing by itself. It also does not replace strong DNS access controls. Still, it adds a useful checkpoint. If an attacker gains access to a hosting account but not DNS, CAA can block certificate issuance through an unapproved CA.
For larger teams, CAA also adds order. A company may decide that only DigiCert and Let’s Encrypt are approved. Without CAA, different teams may request certificates from random providers. Expect to waste time on renewals later when nobody remembers which CA issued which certificate.
Common CAA record examples
Allow one CA to issue certificates:
example.com. 3600 IN CAA 0 issue "letsencrypt.org"
Allow wildcard certificates from one CA:
example.com. 3600 IN CAA 0 issuewild "digicert.com"
Block all certificate issuance:
example.com. 3600 IN CAA 0 issue ";"
Send violation reports:
example.com. 3600 IN CAA 0 iodef "mailto:security@example.com"
The iodef tag gives CAs a reporting address when a certificate request violates CAA policy. Support varies, but it is still useful for security teams that monitor certificate problems.
How TXT records fit into domain protection
TXT records are flexible. That is their strength and their weakness. They can prove domain ownership, publish email rules, and support many vendor checks. But they do not instruct CAs to allow or deny certificate issuance.
Common TXT uses include:
- SPF: Lists mail servers allowed to send email for the domain.
- DKIM: Publishes public keys used to validate signed email.
- DMARC: Tells receivers what to do when SPF or DKIM checks fail.
- Service verification: Proves control of a domain to platforms such as Google Workspace or Microsoft 365.
SPF and DMARC can reduce spoofed email. CAA can reduce unwanted certificate issuance. They solve different pieces of the same trust problem.
When a domain should use both
Most production domains should use both CAA and TXT records. A commercial site, for example, may use CAA to restrict TLS certificates to one approved CA. It may also use SPF, DKIM, and DMARC TXT records to protect email.
A simple setup might look like this:
example.com. CAA 0 issue "letsencrypt.org"
example.com. TXT "v=spf1 include:_spf.examplemail.com -all"
_dmarc.example.com. TXT "v=DMARC1; p=reject; rua=mailto:dmarc@example.com"
This gives the domain owner two layers of control. Web certificates come from an approved CA. Email receivers get a clear policy for suspicious messages. Neither record type replaces the other.
Practical setup tips
- Start with the current CA. The domain owner should check which CA issued the active certificate before creating a restrictive CAA record.
- Add wildcard rules only when needed. The
issuewildtag applies to wildcard certificates such as*.example.com. - Keep TTL reasonable. A value such as 3600 seconds gives a fair balance between caching and updates.
- Test before renewal. A wrong CAA record can cause certificate renewal failure.
- Document approved CAs. A short internal note can prevent confused support tickets months later.
Let’s Encrypt checks CAA records before issuing certificates, so incorrect values can block a certificate request [source: Let’s Encrypt]. That is good for security, but annoying when a typo adds 20 minutes to an urgent renewal.
Common mistakes with CAA and TXT records
The first mistake is putting CA policy in a TXT record. A value such as "issue letsencrypt.org" inside TXT means nothing to certificate authorities. It may sit there for years and protect nothing.
The second mistake is forgetting subdomains. CAA lookup rules can move up the DNS tree, but complex setups may still surprise teams. Domains with separate zones, customer subdomains, or delegated DNS need extra care.
The third mistake is approving too many CAs. A CAA record that lists five or six providers still works, but it weakens the control. The cleaner choice is to allow only the providers actually used.
Best choice for managing domain security
CAA and TXT records should not compete. They should work together. CAA handles certificate authority control. TXT handles verification and email trust. A domain with HTTPS and business email usually needs both.
The best model is simple. Use CAA to name approved CAs. Use TXT for SPF, DKIM, DMARC, and vendor verification. Review both record types after changing hosting, email providers, or certificate vendors. Small DNS records can prevent very expensive cleanup later.
FAQ
What is a CAA record?
A CAA record is a DNS record that tells certificate authorities which providers may issue TLS certificates for a domain.
Is a CAA record the same as a TXT record?
No. A CAA record controls certificate issuance. A TXT record stores text values for email security, ownership checks, and service verification.
No. Certificate authorities check CAA records for that purpose. A TXT record cannot replace CAA policy.
What is a simple CAA record example?
example.com. CAA 0 issue "letsencrypt.org" allows Let’s Encrypt to issue certificates for example.com.
Should every domain have a CAA record?
Most public business domains should have one. It gives the domain owner more control over certificate issuance and reduces avoidable risk.