DNS problem: SERVFAIL looking up CAA for example.com
The domain's nameservers failed the CA's lookup
Seen in certbot, acme.sh, Caddy, Traefik, cert-manager (Let's Encrypt)
The CA's resolver got SERVFAIL instead of an answer, and a failed lookup blocks issuance even when no record is needed.
Common causes
- Broken DNSSEC: a DS record at the registrar no longer matches the zone's keys.
- The authoritative nameservers mishandle CAA queries or some of them are unreachable.
- Nameservers disagree with each other or time out.
How to fix it
- Query the record type named in the error (often CAA) against each authoritative nameserver; each should return an answer or a clean empty response.
- Fix or remove a stale DS record at the registrar if DNSSEC validation fails.
- Ask the DNS provider to fix CAA handling, or move to a provider that answers correctly. Adding a CAA record is not required.
Got a different message? Paste it into the error explainer.
Related errors
- DNS problem: NXDOMAIN looking up A for example.com - check that a DNS record exists for this domain · The domain has no DNS record the CA can find
- CAA record for example.com prevents issuance · A CAA record does not allow this CA
- upstream timed out (110: Connection timed out) while reading response header from upstream · The backend took too long to respond
- connect() failed (111: Connection refused) while connecting to upstream · The backend is not listening
- connect() to 127.0.0.1:8080 failed (13: Permission denied) while connecting to upstream · nginx is not allowed to connect to the backend
- no live upstreams while connecting to upstream · Every backend server is marked as down
- upstream prematurely closed connection while reading response header from upstream · The backend closed the connection without answering
- SSL_do_handshake() failed while SSL handshaking to upstream · nginx couldn't complete TLS with the backend
- client intended to send too large body · An upload exceeded client_max_body_size
- bind() to 0.0.0.0:80 failed (98: Address already in use) · Another process already uses the port
- could not build server_names_hash, you should increase server_names_hash_bucket_size · A server_name is too long for the hash table
- AH00558: Could not reliably determine the server's fully qualified domain name · Apache has no global ServerName