CAA records in Namecheap DNS tell certificate authorities (CAs), the companies that issue SSL certificates, which of them may issue certificates for your domain. Without a CAA record, any trusted CA can issue one, and browsers will accept it. By the end of this guide your domain will allow only the CAs you actually use, and you will have checked the records with dig so your automatic renewals keep working.
Setup takes a few minutes, but a mistake in the form can quietly break the next certificate renewal, so list your CAs before you start.
Quick answer: In Namecheap, open Advanced DNS and add a CAA Record on host @ with tag issue and value letsencrypt.org (or your CA’s domain). Add one such record for every CA that issues certificates for your domain.
- List every service that issues certificates for your domain and its CAA value.
- Go to Domain List > Manage > Advanced DNS > Host Records > Add New Record.
- Choose CAA Record, Host @, flag 0, tag issue, and the CA’s domain without quotes.
- Add issuewild and iodef records only if you need them.
- Check with
dig CAA example.com +shortbefore the next renewal runs.
In this guide
- Before You Start
- What CAA Records Actually Stop (and What They Don’t)
- Anatomy of a CAA Record: Tags, Flags, and Values
- Step 1: List Every CA That Issues Certificates for Your Domain
- Step 2: Add the CAA Records in Namecheap Advanced DNS
- How issuewild and Subdomains Change the Policy
- Setting Up iodef Incident Reporting
- Step 3: Check the Records With dig
- If Let’s Encrypt Still Refuses to Issue
- Frequently Asked Questions
- Next Steps for DNS Hardening

Before You Start
- Access: your Namecheap login, with the domain on Namecheap BasicDNS or PremiumDNS. If your DNS is hosted elsewhere, you add the records in that provider’s panel instead.
- A list of every certificate issuer: Step 1 shows how to build it. A CA you forget can no longer issue or renew certificates for the domain.
- Time: about 10 minutes. New records usually resolve within 30 minutes.
- Rollback: deleting all CAA records restores the default, where any CA may issue. Certificates that are already installed keep working either way.
What CAA Records Actually Stop (and What They Don’t)
A CAA record is a DNS resource record standardized in RFC 8659. It tells public CAs which entities hold signing rights for your domain. Since late 2017, the CA/Browser Forum has mandated that every compliant CA must query DNS for CAA records before issuing a certificate.
If an attacker tricks the automated validation of some CA you never use, that CA still has to check your DNS first. If your CAA records only permit Let’s Encrypt or Sectigo, the CA has to abort the request immediately.
Here is what CAA records handle:
- Unauthorized CAs: Stops shadow IT, rogue developers, or compromised external authorities from minting certificates for your domain through providers you never vetted.
- Wildcard misissuance: Gives you granular control over wildcard certs (like
*.example.com) separately from standard single-domain certs. - Reporting contact: Lets you publish an address where CAs can report requests that violate your policy. Reporting is optional for CAs, and in practice few of them send these reports.
What they don’t do: CAA won’t protect you if an attacker has already compromised your DNS records, hijacked your ACME HTTP validation route, or stolen your server API keys. If an attacker can prove domain control to your allowed CA, that CA will still issue the cert. CAA restricts the authorities, not the identity checks those authorities run.
Anatomy of a CAA Record: Tags, Flags, and Values
A standard CAA record consists of three parts: a flag, a tag, and a value. In a standard zone file, they look like this:
example.com. 3600 IN CAA 0 issue "letsencrypt.org"
example.com. 3600 IN CAA 0 issuewild ";"
example.com. 3600 IN CAA 0 iodef "mailto:security@example.com"Here is how those fields work before we translate them into Namecheap’s web console:
- Flag (0 or 128): An 8-bit integer. Almost everyone uses
0(non-critical). Setting this to128(critical) instructs the CA that if it does not recognize your specific tag, it must immediately abort issuance. Unless you have an enterprise compliance requirement, stick to0. - issue: Grants a specific CA permission to issue standard, multi-domain, and wildcard certs (unless overridden by
issuewild). - issuewild: Specifically governs wildcard certificates. Setting
issuewild ";"shuts down wildcard issuance entirely across the entire domain. - iodef: Incident Object Description Exchange Format. Accepts a
mailto:link orhttps://URL where CAs can shoot incident payloads whenever an issuance attempt violates your policy.
Step 1: List Every CA That Issues Certificates for Your Domain
Before editing DNS records, make a list of every service that issues certificates for your domain and its subdomains: your web server, CDN, hosting panel, load balancer and mail server. If you miss one, its next automatic renewal fails and visitors eventually see expired-certificate warnings.
To see who issued the certificate a site uses now, run this in a terminal on your computer:
echo | openssl s_client -connect example.com:443 -servername example.com 2>/dev/null | openssl x509 -noout -issuerIt prints one issuer= line. The organisation (O=) part names the CA, for example Let's Encrypt. Repeat it for each subdomain that serves HTTPS. To catch certificates you forgot about, search your domain on crt.sh, which lists every certificate logged for it by any CA.
Then match each CA to the value it expects in a CAA record:
| CA or provider | Value for the issue tag |
Typical use |
|---|---|---|
| Let’s Encrypt | letsencrypt.org |
Certbot, Caddy, Traefik and many hosting panels’ free SSL. See the Let’s Encrypt CAA guide. |
| DigiCert | digicert.com |
Commercial certificates |
| Sectigo / Comodo | sectigo.com |
Namecheap’s own paid PositiveSSL certificates |
| Amazon Web Services | amazon.com |
AWS Certificate Manager, CloudFront, ALB |
| Google Trust Services | pki.goog |
GCP and Google-managed certificates |
| Cloudflare | Added for you when Cloudflare hosts your DNS | Cloudflare issues from Let’s Encrypt, Google Trust Services and SSL.com, with Sectigo as a backup CA. When you add CAA records in Cloudflare DNS, it adds the entries it needs for its own certificates automatically. |
If your stack relies on wildcard subdomains with Certbot DNS challenge and Nginx, you must make sure Let’s Encrypt has permission to issue wildcards, not just apex certs.
Step 2: Add the CAA Records in Namecheap Advanced DNS
Namecheap supports CAA records directly under BasicDNS and PremiumDNS. If you are delegating to external nameservers (like Cloudflare, Route 53, or self-hosted servers), you need to add your CAA records there instead. If you manage custom nameservers, check out our guide to register custom nameservers with glue records on Namecheap.
If you’re using Namecheap’s DNS manager, here is how to configure them:
- Log in to your Namecheap dashboard.
- Head to Domain List, find your domain, and click Manage.
- Open the Advanced DNS tab.
- Scroll down to Host Records and click Add New Record.
- Pick CAA Record from the dropdown.
Namecheap breaks this record into several form inputs:
- Type:
CAA Record - Host:
@(for apex domain) or a subdomain prefix likeapi - Value: Split into a tag selector (
issue,issuewild, oriodef) and the CA target. If a flag field is shown, leave it at0. - TTL:
Automaticor30 min
Here is what your inputs should look like for standard production setups:
# Scenario 1: Only Let's Encrypt allowed (both standard and wildcard)
Type: CAA Record
Host: @
Flag: 0
Tag: issue
Target Value: letsencrypt.org
TTL: Automatic
# Scenario 2: Let's Encrypt for standard, Amazon for wildcards
Record 1:
Host: @ | Flag: 0 | Tag: issue | Target: letsencrypt.org
Record 2:
Host: @ | Flag: 0 | Tag: issuewild | Target: amazon.comClick the green checkmark to save each record. CAA records sit next to your other records on @ (A, MX, TXT) without affecting them.
How issuewild and Subdomains Change the Policy
The interaction between issue and issuewild trips people up regularly, and subdomains follow their own lookup rules.
If you only configure an issue tag, that CA can sign both regular single-name certs and wildcard certs:
# This allows letsencrypt.org to issue both app.domain.com AND *.domain.com
Type: CAA Record
Host: @
Flag: 0
Tag: issue
Target Value: letsencrypt.orgThe moment you add a single issuewild record to your zone, standard issue records no longer apply to wildcard requests. The issuewild directive completely takes over wildcard policy.
For instance, if your internal security policy forbids wildcard certificates, you can shut down wildcard issuance globally by supplying a lone semicolon:
Type: CAA Record
Host: @
Flag: 0
Tag: issuewild
Target Value: ;
TTL: AutomaticThe semicolon acts as an empty CA set. Even though you authorized Let’s Encrypt for root certificates with issue, the presence of issuewild ; tells Let’s Encrypt to flat-out reject any request for *.example.com.
Subdomains inherit CAA records from their parent domain by default. If api.example.com has no CAA records of its own, the CA will look up the tree to example.com. But if api.example.com defines its own CAA record, it overrides the parent record completely for that specific subdomain.
Setting Up iodef Incident Reporting
The iodef tag publishes a contact address for certificate policy problems. A CA that receives a request it is not authorized to fulfil may send a report there. Treat it as a nice-to-have rather than an alarm system, because reporting is optional for CAs and few of them do it.
Configure it using standard email URI syntax:
Type: CAA Record
Host: @
Flag: 0
Tag: iodef
Target Value: mailto:certs-alerts@example.com
TTL: AutomaticMake sure this inbox exists and is monitored.
For real monitoring, watch Certificate Transparency logs for your domain (crt.sh or a CT monitoring service). They list every certificate that was actually issued for your names, by any CA.
Step 3: Check the Records With dig
Don’t run a certificate request right after saving records in Namecheap. Give Namecheap’s servers 5 to 15 minutes to update, then query the records directly from a terminal on your computer.
Query Google’s public resolver for your domain’s CAA records using dig:
dig +noall +answer CAA example.com @8.8.8.8You should see your flags and tags returned in the ANSWER section:
example.com. 1799 IN CAA 0 issue "letsencrypt.org"
example.com. 1799 IN CAA 0 issuewild ";"
example.com. 1799 IN CAA 0 iodef "mailto:certs-alerts@example.com"An empty answer means the records haven’t been published yet, or the domain uses different nameservers. If you suspect local DNS caching is feeding you stale results, query Namecheap’s authoritative nameservers directly:
# Find authoritative nameservers
dig +short NS example.com
# Query the primary Namecheap nameserver directly
dig @dns1.registrar-servers.com CAA example.com +shortOnce dig confirms the records exist, you can run your site through the Qualys SSL Labs test to verify that external analyzers recognize your CAA directives.
If Let’s Encrypt Still Refuses to Issue
When a CAA record blocks issuance, a Certbot run or renewal fails with an error like this:
Certbot failed to authenticate some domains (authenticator: nginx). The Certificate Authority reported these problems:
Domain: dev.example.com
Type: caa
Detail: CAA record for dev.example.com prevents issuanceIf you believe Let’s Encrypt is authorized, check these causes in order:
- Quotes or typos in the value. Run
dig CAA example.com +short. The answer should read exactly0 issue "letsencrypt.org", with the single pair of quotes thatdigprints. Doubled or escaped quotes mean the value was saved with quotation marks typed into the form. - A closer CAA record. A CAA record on the subdomain itself replaces the parent’s policy completely, and if the name is a CNAME, the CA follows it and applies the target’s CAA policy.
- An
issuewildrecord. For a wildcard certificate,issuewildtakes over fromissue, so Let’s Encrypt has to be listed there too. - Caching. After fixing a record, wait for the old TTL to expire (30 minutes with Namecheap’s Automatic setting) before retrying.
The rule for Namecheap’s form is simple: do not include quotation marks in the Target Value field. Just write the raw domain name:
# Correct in Namecheap UI:
Target: letsencrypt.org
# Incorrect (can cause validation failures):
Target: "letsencrypt.org"If the error is not of type caa (for example a timeout or 404 on the /.well-known/acme-challenge/ path), CAA is not the cause. That is a validation problem; see how to fix Certbot SSL auto-renewal failures on Nginx.
Frequently Asked Questions
Do I need a separate CAA record for www or other subdomains?
Usually not. A CA checking www.example.com uses the records on example.com when www has none of its own. The exceptions: a subdomain with its own CAA records follows only those, and a subdomain that is a CNAME follows the CAA records of its target, if the target publishes any.
Do CAA records break existing SSL certificates?
No. CAs evaluate CAA records only when generating, re-issuing, or renewing a certificate. Any active, installed cert on your server will keep working unaffected until its normal expiration date. That is also why a wrong CAA policy often goes unnoticed until the next renewal, so test with a dry run.
Can I authorize more than one Certificate Authority?
Yes. Add multiple CAA records with the issue tag. For example, add one record with letsencrypt.org and another with sectigo.com. Both CAs will be authorized to validate and sign certificates for your domain.
What happens if I make a typo in the CA domain?
If you misspell the target (like letsencryp.org), no real CA will match your rule. When your ACME client or automated renewal kicks off, the CA will read your DNS, see that its actual domain name isn’t listed, and immediately fail the issuance.
Are CAA records mandatory for my website to work?
No. If your domain has no CAA records at all, every valid CA on the internet has permission to issue certificates for it. Adding CAA records is strictly a defense-in-depth security measure to prevent unauthorized cert issuance.
Next Steps for DNS Hardening
Before your next renewal date, run a test renewal (for Certbot, sudo certbot renew --dry-run on the server) to confirm the new policy allows it. After that, keep an eye on crt.sh for certificates you didn’t request.
CAA records rely on the integrity of your DNS answers. If an attacker compromises your DNS provider or poisons resolver caches, they can bypass your policy.
To close this gap, turn on DNSSEC (Domain Name System Security Extensions) in Namecheap. DNSSEC cryptographically signs your zone records, ensuring CAs and resolvers can verify that your CAA records haven’t been tampered with or stripped out in transit.

