Hello everyone,
I'm looking for assistance with a persistent Let's Encrypt validation issue involving mitranet.nl.
I have been administering UNIX/Linux systems and DNS infrastructure for more than 25 years, and have spent considerable time investigating this issue. At this point, I would particularly appreciate input from people familiar with Let's Encrypt's distributed DNS validation infrastructure.
The puzzling part is that both HTTP-01 and DNS-01 fail with DNS SERVFAIL, although the authoritative nameservers, DNS delegation, public recursive resolution and normal website operation all appear healthy.
The problem is reproducible with Let's Encrypt's staging environment as of 22 October 2026.
1. Domains and current certificate
Domain: mitranet.nl
Relevant hostnames:
mitranet.nlwww.mitranet.nl
Current production certificate:
| Property | Value |
|---|---|
| Certbot certificate name | www.mitranet.nl |
| Current SAN | DNS:www.mitranet.nl |
| Key type | RSA |
| Issued | 29 August 2026 |
| Expires | 27 November 2026, 12:29:06 UTC |
| Original renewal authenticator | standalone |
| Original challenge | HTTP-01 |
The existing production certificate remains valid, and HTTPS works normally.
The original certificate was obtained successfully using the standalone HTTP-01 authenticator. We subsequently attempted to expand it to cover both the apex and www names using RFC2136 DNS-01.
Those attempts failed, but importantly, a dry-run renewal using the original HTTP-01 configuration now fails as well.
No production certificate has been replaced during these investigations.
2. Authoritative DNS architecture
Two geographically and operationally separate authoritative DNS servers are configured:
| Role | Hostname | Public IPv4 | Platform |
|---|---|---|---|
| Primary | vps.wezenaar.org |
89.149.243.129 |
Rocky Linux VPS, BIND 9.18.33 |
| Secondary | vps2.wezenaar.org |
217.121.29.231 |
pfSense Plus 26.07, BIND 9.20 |
The primary is hosted at an external VPS provider. The secondary is hosted on a residential Ziggo connection in the Netherlands.
Both nameservers are publicly authoritative on UDP and TCP port 53.
The secondary receives its zones through normal BIND zone transfers/NOTIFY.
The parent .nl zone delegates mitranet.nl to:
mitranet.nl. 3600 IN NS vps.wezenaar.org.
mitranet.nl. 3600 IN NS vps2.wezenaar.org.
Both nameserver hostnames are under wezenaar.org, outside the delegated zone.
Their publicly resolvable A records are:
vps.wezenaar.org. IN A 89.149.243.129
vps2.wezenaar.org. IN A 217.121.29.231
These addresses were independently verified using Cloudflare, Google Public DNS and Quad9.
There are no AAAA records for these nameservers.
No DS record is published for mitranet.nl at the parent. The zone is unsigned.
Both authoritative servers report the same current SOA serial:
2026091939
The SOA MINIMUM / negative-caching TTL is currently 60 seconds.
3. Actual DNS records
Both authoritative servers return the correct IPv4 address:
www.mitranet.nl. 86400 IN A 89.149.243.129
mitranet.nl. 86400 IN A 89.149.243.129
Neither name has an AAAA record.
www.mitranet.nl is not a CNAME.
Direct nonrecursive queries to both public authoritative IP addresses return:
- A:
NOERROR, correct address, authoritative (aa) - AAAA:
NOERROR, no AAAA answer, SOA in authority section - CNAME:
NOERROR, no CNAME answer, SOA in authority section - SOA: matching serial
2026091939
The lack of AAAA records is intentional and should not cause an A/AAAA SERVFAIL.
4. Current failure: original HTTP-01 renewal
The original renewal configuration has not been converted to DNS-01.
Relevant settings from:
/etc/letsencrypt/renewal/www.mitranet.nl.conf
authenticator = standalone
server = https://acme-v02.api.letsencrypt.org/directory
key_type = rsa
pre_hook = /bin/systemctl stop nginx
post_hook = /usr/local/sbin/ngcleancache.sh
The post-hook contains:
systemctl restart nginx
[ this used to be more, but we've fallen back to direct serve instead of using cache ]
The normal automated renewal is handled by certbot-renew.timer, scheduled daily at 03:00 Europe/Amsterdam time.
The service executes:
/usr/bin/certbot renew --noninteractive \
--no-random-sleep-on-renew \
$PRE_HOOK $POST_HOOK $RENEW_HOOK \
$DEPLOY_HOOK $CERTBOT_ARGS
The additional global Certbot arguments are empty.
For testing, I executed:
certbot renew \
--cert-name www.mitranet.nl \
--dry-run \
--non-interactive \
--no-random-sleep-on-renew
On 22 October 2026 at approximately 13:27:14 CEST, this produced:
Processing /etc/letsencrypt/renewal/www.mitranet.nl.conf
Simulating renewal of an existing certificate for www.mitranet.nl
Certbot failed to authenticate some domains
(authenticator: standalone).
The Certificate Authority reported these problems:
Domain: www.mitranet.nl
Type: dns
Detail: DNS problem: SERVFAIL looking up A for
www.mitranet.nl - the domain's nameservers may
be malfunctioning; DNS problem: SERVFAIL looking
up AAAA for www.mitranet.nl - the domain's
nameservers may be malfunctioning
Failed to renew certificate www.mitranet.nl
with error: Some challenges have failed.
All simulated renewals failed.
1 renew failure(s), 0 parse failure(s)
The attempt finished at approximately 13:27:17 CEST.
Nginx was automatically restarted and verified active afterwards.
The certificate remains unchanged.
This appears to be a DNS-resolution failure before HTTP-01 validation can retrieve the challenge token. I have not seen evidence of a failure involving the actual challenge file or HTTP response.
5. DNS-01 failures produce similar errors
Before investigating the original HTTP-01 renewal, I attempted to expand the certificate using the Certbot RFC2136 authenticator.
The intended names were:
www.mitranet.nl
mitranet.nl
Example command:
certbot certonly \
--dns-rfc2136 \
--dns-rfc2136-credentials \
/etc/letsencrypt/rfc2136-mitranet.ini \
--dns-rfc2136-propagation-seconds 180 \
--cert-name www.mitranet.nl \
--expand \
--key-type rsa \
--non-interactive \
--dry-run \
-d www.mitranet.nl \
-d mitranet.nl
I tested propagation intervals including 120 and 180 seconds.
The RFC2136 dynamic DNS updates work correctly:
- Certbot creates the ACME challenge TXT records on the primary.
- The secondary receives the changes.
- Both authoritative servers return the expected TXT values.
- The TXT records are subsequently cleaned up correctly.
Nevertheless, Let's Encrypt staging reports DNS SERVFAIL, sometimes during secondary validation, involving the challenge TXT records and/or other DNS lookups.
This is why I no longer believe the RFC2136 authenticator itself explains the issue.
The common factor is DNS resolution by the CA, not the selected ACME challenge method.
6. Independent recursive DNS tests
I queried the following recursive resolvers:
| Resolver | Address | A record | SOA |
|---|---|---|---|
| Cloudflare | 1.1.1.1 |
Correct | NOERROR |
8.8.8.8 |
Correct | NOERROR |
|
| Quad9 | 9.9.9.9 |
Correct | NOERROR |
| OpenDNS | 208.67.222.222 |
Correct | NOERROR |
All four correctly resolve:
www.mitranet.nl. A 89.149.243.129
They return normal NOERROR/NODATA for the non-existent AAAA record.
All four have also returned the current SOA serial 2026091939.
An earlier Quad9 lookup returned an older cached SOA serial (2026091926), but a subsequent lookup returned the current serial. I mention this only as a historical observation, not as an established explanation for SERVFAIL.
7. Full DNS delegation trace
A direct iterative trace was performed:
dig @1.1.1.1 +trace www.mitranet.nl A \
+time=5 +tries=2
It completed successfully:
. → nl. → mitranet.nl. → www.mitranet.nl.
The .nl nameservers returned the expected delegation:
mitranet.nl. 3600 IN NS vps.wezenaar.org.
mitranet.nl. 3600 IN NS vps2.wezenaar.org.
The trace reached the authoritative infrastructure and returned:
www.mitranet.nl. 86400 IN A 89.149.243.129
No timeouts or SERVFAIL responses were observed in that trace.
I also verified the delegation directly against the .nl parent nameservers.
DNSViz testing did not reveal an obvious delegation or authoritative-response problem in the checked responses.
8. Comparison with another zone on the same DNS servers
This is an important comparison.
The same two BIND servers are authoritative for:
djazzperado.com
That zone has:
www.djazzperado.com. IN A 89.149.243.129
djazzperado.com. IN A 89.149.243.129
It uses the same public authoritative nameserver hostnames and the same server IP addresses.
A trace for www.djazzperado.com completes successfully, just as the one for www.mitranet.nl does.
However, Let's Debug's DNS-01 tests for djazzperado.com have reported successful results, whereas tests for mitranet.nl have repeatedly reported intermittent SERVFAIL.
Relevant differences include:
.nlversus.comparent delegation.mitranet.nluses an RFC2136 dynamically updated zone.djazzperado.comis a static zone.- The zones have different SOA parameters and negative-cache TTLs.
I have not established that any of these differences causes the failure.
9. Firewall and filtering investigation
On the Rocky Linux VPS:
- Public DNS is permitted on UDP/53 and TCP/53.
- BIND is running and answering authoritative queries.
- firewalld uses nftables.
- A source-based blacklist exists and is processed before the public-zone accept rules.
- Fail2Ban is enabled for several services, including SSH and mail.
I checked the Fail2Ban rules; the inspected reject rules targeted mail services, not DNS port 53.
I also investigated whether the DNS failure could be related to source-based firewall filtering.
A temporary firewall exception was tested earlier for DNS traffic, without resolving the Let's Debug failures, and then reverted.
I cannot completely exclude routing, filtering or reachability problems affecting certain source networks.
No permanent firewall changes have been made as part of this investigation.
The pfSense secondary is configured to expose authoritative BIND on the WAN interface, while its local recursive DNS services are restricted to internal networks.
10. Packet captures during actual failed validation
Several packet captures were taken on the VPS and pfSense WAN interface.
Most importantly, on 22 October 2026, a controlled HTTP-01 dry-run was performed with captures intended to cover the same validation window.
VPS capture
Interface: eth0
Capture filter:
udp port 53 or tcp port 53
Capture directory:
/var/tmp/mitranet-dual-capture-20261022-132709/
Results:
52 packets captured
62 packets received by filter
0 packets dropped by kernel
The capture began at approximately 13:27:09 CEST.
Certbot ran from 13:27:14 to 13:27:17 CEST.
No incoming DNS queries were observed in the displayed VPS capture summary.
Most captured DNS traffic consisted of the VPS querying its configured upstream resolvers for unrelated hostnames.
pfSense WAN capture
Interface: ix0
A simultaneous WAN capture was started manually before the Certbot test and stopped manually after Certbot finished.
The saved PCAP was named:
packetcapture-ix0-20261022132619.pcap
The last recorded packet timestamp was earlier than the Certbot validation interval. This alone does not prove that the capture had stopped: it may simply have recorded no subsequent matching packets.
No relevant Mitranet DNS queries were identified in the inspected pfSense capture.
Important limitation: I cannot prove from these captures that Let's Encrypt did not attempt DNS resolution. Its resolvers may have queried from other locations, received cached errors, encountered failures upstream, or experienced filtering/routing problems not visible at these capture points.
Nevertheless, the simultaneous lack of observed incoming requests is worth investigating.
Full PCAPs and Certbot logs can be provided if useful.
Furthermore, public DNS resolvers had already returned the correct nameserver addresses.
11. Related reports
I noticed several other community discussions concerning intermittent SERVFAIL during domain validation, including: