ssl-guides 2026-12-02 ⏱ 3 min read

How DNS Records Affect SSL Certificate Issuance

How DNS Records Affect SSL Certificate Issuance

Before any certificate authority issues an SSL certificate, it asks your DNS a series of questions: where does this domain point, who is allowed to issue for it, and can the requester prove control? Wrong or stale DNS answers are behind most failed orders. Here is what each record type does to issuance and what to check before you order.

DNS records that decide SSL certificate issuance

RecordWhat the CA uses it forWhat breaks when it is wrong
AFinds the server for HTTP-01 validationToken request hits the wrong server, validation fails
AAAAIPv6 address, often preferred by CAsStale IPv6 silently fails even with a correct A record
CNAMEFollowed to the target for validationValidating the alias target instead of your server
TXTCarries the DNS-01 challenge tokenUnpropagated or mismatched token fails the order
CAALists which CAs may issueCA is required to refuse if it is not named

HTTP-01: your A and AAAA records run the show

For the common HTTP-01 challenge, the CA fetches a token from http://your-domain/.well-known/acme-challenge/. It resolves your domain and connects to whatever the A record says. If you just migrated servers and the record still points at the old host, the token request goes there and fails.

The trap is AAAA. If an IPv6 record exists, many CAs prefer it. A forgotten AAAA record pointing at a decommissioned server fails validation even though your A record is perfect. Audit both with a DNS lookup before every order on a changed setup.

DNS-01 and TXT records

Wildcard certificates require DNS-01: the CA looks up a TXT record at _acme-challenge.your-domain and expects the exact token your client published. Two failure modes dominate: the TXT record has not propagated yet, so resolvers return nothing, or an old token from a previous attempt lingers and confuses the check. Automating TXT creation through your DNS provider's API removes both problems.

CAA records: the allowlist nobody remembers

If any CAA record exists on your domain, only the CAs it names may issue. A record added for a past provider quietly blocks your new one, and CAA inherits downward: a record on example.com applies to every subdomain unless overridden. Check with dig CAA example.com and make sure your CA, such as letsencrypt.org, is listed.

A pre-issuance DNS checklist for SSL certificates

  1. Confirm the A record resolves to the server that will answer the challenge.
  2. Confirm AAAA records, if any, also point there, or remove them.
  3. Check CAA records on the domain and its parents; add your CA if any exist.
  4. For wildcards, verify the TXT record is visible from public resolvers before submitting.
  5. Lower TTLs to 300 seconds a day before planned changes so updates propagate fast.

After issuance, confirm the certificate itself with the SSL Checker, and force HTTPS with rules from the HTTPS Redirect Generator.

Related reading: changing DNS without breaking HTTPS and DNS validation errors.

Frequently Asked Questions

My DNS looks right but validation still fails. What now?

Check propagation, not just your provider's dashboard. Public resolvers cache the old answer until its TTL expires, and the CA trusts resolvers, not your dashboard.

Does a CNAME at the apex break issuance?

A CNAME at the apex is technically invalid DNS, but providers like Cloudflare flatten it. Issuance still works because the CA follows the flattened records. Subdomain CNAMEs work normally.

Can a firewall break validation even with perfect DNS?

Yes. HTTP-01 needs inbound port 80 from the internet, and some setups also need 443. DNS gets the CA to your door; the firewall decides whether anyone answers.

Do I need DNSSEC for certificates?

Not required, but it helps. DNSSEC prevents cache poisoning, which is one of the ways attackers obtain fraudulent certificates. It is a worthwhile hardening step once issuance works.

How long should I wait after changing a record?

Until public resolvers return the new answer everywhere. A 300 second TTL keeps that short, but caches can hold the old value for the full TTL.

🔒 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