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
Seen in certbot, acme.sh, Caddy, Traefik, cert-manager (Let's Encrypt)
The CA's resolvers got NXDOMAIN (name does not exist) for the domain or challenge record it needs to check.
Common causes
- The A or AAAA record has not been created, or there is a typo in the name.
- A new domain or record has not propagated, or the domain's nameservers at the registrar are wrong.
- For DNS-01, the _acme-challenge TXT record was not created in the right zone.
How to fix it
- Create the missing record and confirm it resolves through a public resolver.
- Check the registrar's nameservers match the DNS provider where you made the record.
- Retry once the authoritative nameservers all answer.
Got a different message? Paste it into the error explainer.
Related errors
- DNS problem: SERVFAIL looking up CAA for example.com · The domain's nameservers failed the CA's lookup
- 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