⌚ About 2 min read
This BAOI guide provides a structured method for diagnosing dnssec and a serfail without multiplying unnecessary changes.
Avant de commencer : adaptez toujours les commandes et manipulations à votre environnement. Sur un système de production, prévoyez une backup ou un retour arrière lorsque l’action peut modifier la configuration.
Étapes à suivre
-
1
Set perimeter
Identify the equipment, service, affected users and start time.
-
2
Collect Elements
Record the exact messages, logs and useful settings.
-
3
Test methodically
Start with the basic dependencies before the application components.
-
4
Apply correction
Change only the identified parameter or component.
-
5
Validate
Rewrite the full scenario and document the result.
Commands utiles
Resolve-Dns(1) example.com -DnssecOk.
À retenir
- Keep the initial values for a backwards.
- Avoid multiple simultaneous changes.
- Compare with a functional configuration when possible.
Advanced DNS: diagnose DNSSEC and AXFR from the authority
Technical checkpoints
- DNSSEC SERVFAIL often comes from a broken chain of trust: parent DS, DNSKEY, RRSIG, algorithm or signature dates.
- Comparing a validating query with a +cd query helps distinguish missing data from validation failure.
- AXFR should be allowed only to intended secondaries; the SOA serial helps verify they receive the correct version.
Targeted dig
Query DNSKEY/DS/RRSIG and the authority itself before changing the zone.
dig +dnssec example.com A
dig example.com DNSKEY
dig @ns1.example.com example.com AXFRTopic-specific pitfalls
- Changing DNSSEC keys without synchronizing the parent DS can prolong SERVFAIL.
- Opening AXFR to the Internet exposes the entire zone and is not an acceptable production test.
How to validate
- The DS→DNSKEY→RRSIG chain validates and signature dates are correct.
- Only authorized secondaries can AXFR and their SOA serial converges.