troubleshooting 2026-12-02 ⏱ 3 min read

Fix DNS Validation Failed for SSL Certificates

Fix DNS Validation Failed for SSL Certificates

"DNS validation failed" means the certificate authority looked for a record you were told to publish and did not find the expected value. This guide gives a short path to find out why. For a wider look at record types and wildcards, read our longer article on DNS validation errors.

Fix DNS validation failed: the order

StepQuestionCommand or tool
1Where does the zone live?dig +short NS example.com
2Is the record at the exact name?dig +short TXT _acme-challenge.example.com
3Does the value match exactly?Compare to the issuer's current value
4Do public resolvers see it?dig @8.8.8.8 and @1.1.1.1
5Is anything blocking issuance?dig CAA example.com

1. Edit DNS where the zone actually is

Run the NS lookup. If the nameservers belong to Cloudflare or your host, edit the records there, not at the registrar. People often add the record at the registrar and wonder why nothing appears.

2. Use the right record name

The challenge name is _acme-challenge under the domain you are validating. Panels that add the domain automatically need only _acme-challenge in the host field. If you see _acme-challenge.example.com.example.com in the zone, that is the mistake.

3. Copy the value again

Challenge tokens change each time you start a new request. A value from an earlier attempt will fail. Paste the current one, without added spaces or extra quotes. Use the DNS lookup tool to see exactly what is being served.

Fix DNS validation failed: wait for caches

If you queried the name before adding the record, resolvers may cache the "not found" answer for a few minutes. Wait until a public resolver returns the TXT value, then start validation. Lowering the TTL to 60 or 300 seconds before you begin helps.

5. Keep every value

A certificate for the apex and wildcard together needs two TXT values at the same name. If you replaced the first value, validation of one name fails. Add both.

6. Check CAA and DNSSEC

A CAA record that does not list your CA blocks issuance, and a broken DNSSEC chain makes the CA's resolver reject your answers while yours looks fine. If everything else is correct and only the CA fails, check these two.

Retry cleanly

After fixing the record, start a fresh request so you get a new token and place the new value. Use the staging environment of your ACME client while testing, to avoid rate limits. If you want a no-command route, TryFreeSSL walks you through the records. When the certificate is issued, verify it with the Live SSL Checker.

Related reading: the wider DNS validation guide and checking CAA records.

Frequently Asked Questions

How long should I wait?

Often a few minutes. If it has not appeared after an hour, assume the record is in the wrong place.

Can I use HTTP validation instead?

Yes for a single hostname that is reachable on port 80. Wildcards require DNS.

Does a proxy such as Cloudflare affect TXT records?

No. TXT records are never proxied. Proxying matters for A and CNAME records.

Should I delete the TXT record after success?

You can. It is not needed after validation.

How long should I wait before retrying?

Wait for the record's TTL plus a few minutes, then query a public resolver for the exact name and type. If the value is there, retry. Repeated retries against a stale cache burn rate limit without changing anything.

Can a proxy hide the validation record?

Yes. An orange-clouded Cloudflare record answers with proxy addresses instead of your value. Set the validation record to DNS only until the certificate is issued, then turn the proxy back on.

🔒 Test Your Website SSL Certificate Now
Run Free SSL Check →

✅ Post-Installation Verification & SEO Checklist

After applying the steps above, run through this 5-point checklist to prevent browser warnings and protect your Google SEO rankings:

  • Verify full CA chain trust and TLS 1.3 support using our Live SSL Checker.
  • Scan for Mixed Content HTTP links and check HSTS/CSP headers on Security Headers Checker.
  • Enforce a permanent 301 HTTP-to-HTTPS redirect with our HTTPS Redirect Generator.
  • Confirm both root and www versions resolve cleanly to one canonical HTTPS URL.
  • Verify your HTTPS property and sitemap.xml inside Google Search Console and Bing Webmaster Tools.
Technically Reviewed by TryFreeSSL Security Team
Last updated: 2026-12-05
About Us →

Free SSL Certificates, Live SSL Checker & CSR Generator

Issue trusted Let's Encrypt SSL certificates in 60 seconds with zero server setup.

Related Articles

🤖 TryFreeSSL AI Assistant