DNSSEC and Let’s Encrypt DNS-01 can work together reliably, but certificate issuance depends on two separate DNS paths being correct: the domain’s signed delegation must validate, and the temporary ACME TXT record must be visible at the authoritative nameservers. This reusable checklist shows how to inspect DS and DNSKEY records, publish and verify _acme-challenge TXT values, diagnose SERVFAIL and stale data, and prepare for wildcard or multi-domain certificate issuance.
Overview
DNS-01 proves control of a domain by asking you to publish a value supplied by an ACME client at _acme-challenge.example.com. The Let’s Encrypt validation system queries that TXT record and compares it with the expected value. Because DNS-01 does not depend on the website being reachable, it is commonly used for wildcard certificates and for services that are not yet publicly serving HTTPS.
DNSSEC adds authenticity checking to DNS responses. A parent zone publishes a DS record for the child zone; the child publishes a matching DNSKEY; and signatures allow validating resolvers to confirm that records have not been altered. DNSSEC does not replace the ACME TXT record. Instead, it allows the TXT response to be validated along with the rest of the DNS chain.
There are therefore two questions to answer before troubleshooting a DNS-01 failure:
- Does the domain have a valid DNSSEC chain from the parent zone to its authoritative nameservers?
- Do those authoritative nameservers return the current ACME TXT value at the exact challenge name?
Check both directly. A public DNS checker may show cached or resolver-specific results, while the authoritative response tells you what the zone currently publishes. If DNSSEC is misconfigured, a validating resolver may return SERVFAIL even when an ordinary lookup appears to find the record.
For broader certificate operations, see the Let’s Encrypt certificate lifecycle playbook. This article focuses specifically on DNSSEC, DNS-01, delegation, and TXT validation.
Checklist by scenario
Before enabling DNSSEC
- Record the domain’s current authoritative nameservers with
dig NS example.com. - Confirm that the DNS provider supports the record types and signing workflow you need, including TXT records under
_acme-challenge. - Understand whether DNSSEC is managed at the registrar, the DNS provider, or through separate key-management controls. Do not enable a DS record at the registrar before the child zone is ready to publish the corresponding DNSKEY.
- Choose the provider’s documented DNSSEC configuration rather than manually selecting algorithms or key parameters without a specific operational reason. Supported choices and interface labels can differ between providers.
- After activation, query the parent for DS records and the child for DNSKEY records. The DS and DNSKEY must form a valid chain.
Useful checks include:
dig +dnssec DS example.com
dig +dnssec DNSKEY example.com
dig +dnssec NS example.comThese commands show DNSSEC-related data, but they do not by themselves prove that every validating resolver will accept the chain. Test with more than one independent validating resolver or a DNSSEC-aware diagnostic tool, and investigate any validation failure before attempting certificate issuance.
Before issuing a wildcard or multi-domain certificate
- List every identifier in the certificate request. Each name may create a separate authorization and DNS-01 challenge.
- Confirm that the ACME client or automation can create TXT records at the correct challenge names.
- Check whether the DNS provider offers an API integration for your ACME client. If it does not, plan a controlled manual process or use a compatible DNS provider.
- Allow the client to retain multiple TXT values when challenges overlap. Do not delete an existing value merely because a new value has appeared.
- Query the authoritative nameservers before asking the ACME server to validate.
A wildcard such as *.example.com is validated through the parent challenge name _acme-challenge.example.com. The wildcard does not require a separate TXT label for every possible subdomain.
When publishing a challenge manually
- Copy the exact value supplied by the ACME client. Treat it as opaque; do not add quotation marks to the value in the DNS control panel unless the provider specifically requires them.
- Create a TXT record at
_acme-challenge.example.com, or enter only_acme-challengeif the provider automatically appends the zone name. - Check the resulting fully qualified name with
dig TXT _acme-challenge.example.com. - Wait until the authoritative nameservers return the value, then trigger validation from the client.
- Remove obsolete challenge values after issuance, while keeping any value still required by another active authorization.
When changing DNS providers or nameservers
- Lowering a record’s TTL may help planned changes, but it does not instantly clear caches that already hold the previous value.
- Copy the complete zone, including MX, TXT, CAA if used, and DNSSEC-related settings, before changing delegation.
- Publish the new zone and verify it at the new authoritative nameservers.
- Update the registrar’s nameserver delegation only after the new zone is ready.
- Coordinate DS records carefully. A stale DS record pointing to the previous signing key can make the new delegation fail validation.
- Test the ACME challenge after the nameserver change and before relying on automated renewal.
What to double-check
Delegation: Use dig NS example.com and query each returned nameserver directly. For example:
dig @ns1.example-dns.net TXT _acme-challenge.example.com
dig @ns2.example-dns.net TXT _acme-challenge.example.comThe answers should be consistent. If one authoritative server lacks the TXT value, an ACME validator that reaches that server may fail even though another server is correct.
DNSSEC status: Inspect both the parent DS and child DNSKEY records. A DS record that refers to a removed or mismatched key can produce SERVFAIL. During key rotation or a nameserver migration, follow the registrar and DNS provider’s documented order of operations. Do not remove a still-needed DS record prematurely, and do not leave an old DS record pointing at a key that is no longer published.
TXT formatting: TXT records can contain one or more quoted character strings. The DNS provider may display them differently from command-line tools. Compare the returned logical value with the ACME client’s expected value, not with a copied screenshot or a provider’s visual formatting.
Multiple values: ACME challenges can overlap during parallel issuance or renewal. Multiple TXT records at the same name are valid. Keep all active values until their corresponding validations finish, then clean them up.
Aliases and delegations: Some providers support CNAME or NS delegation below _acme-challenge. This can be useful for centralizing validation, but it must be intentional and supported by the ACME client. Check the complete chain, including DNSSEC status where applicable, rather than assuming the parent zone’s settings cover a delegated child.
Resolver behavior: Compare an ordinary lookup with a DNSSEC-aware lookup. A response from a non-validating resolver does not prove the chain is healthy. Conversely, a validating resolver returning SERVFAIL is an important signal to investigate DS, DNSKEY, signatures, delegation, and timing.
Common mistakes
- Publishing the TXT record at
example.cominstead of_acme-challenge.example.com. - Entering the full hostname into a control panel that automatically appends the zone, creating a duplicated name.
- Checking only a recursive resolver and never querying each authoritative nameserver.
- Deleting an older TXT value while another certificate authorization is still pending.
- Enabling a DS record before the child zone publishes the matching DNSKEY.
- Leaving a DS record for a retired signing key after moving DNS providers.
- Assuming DNSSEC causes ordinary propagation delays, when the real issue is a broken chain that produces
SERVFAIL. - Using a DNS provider whose API integration cannot create or remove TXT records reliably, then discovering the limitation during renewal.
- Testing only the first issuance and never testing the renewal path. A certificate can issue successfully while the automation lacks permission to update the next challenge.
If the certificate request fails, save the ACME client’s exact error, the authorization name, and the time of the attempt. Then query the authoritative nameservers for that authorization. For browser-side certificate problems unrelated to DNS-01, consult the certificate errors troubleshooting guide.
When to revisit
Use this checklist again before each wildcard or multi-domain issuance, and whenever the underlying DNS inputs change. In particular, revisit it when you change registrars, nameservers, DNS providers, DNSSEC keys, ACME clients, hosting environments, or renewal integrations. It is also worth repeating before a planned migration and after a DNS provider reports a signing or delegation change.
A practical preflight is:
- Confirm the authoritative NS records.
- Confirm the parent DS and child DNSKEY chain validates.
- Confirm the ACME client can create the required TXT record.
- Query every authoritative nameserver for the exact challenge name.
- Check that no stale or conflicting TXT value will be removed too early.
- Run a staging issuance or other non-production test when changing automation, credentials, or provider integrations.
- Verify that renewal can repeat the same DNS update without manual intervention.
Keep the commands, provider settings, and successful responses in your deployment notes. DNS interfaces and ACME client options change over time, so refresh the procedure when tools change rather than copying an old configuration blindly. If your deployment uses Kubernetes, the related cert-manager and Ingress TLS checklist can help connect DNS validation with cluster automation.