Diagnose DNS resolution from client to authority
8 steps · about 2 h 14 min · Intermediate
- Model the DNS lookup path (guide, Wikipedia, 15 min)
A resolver, root, TLD and authoritative server play different roles that must be tested separately.
- Separate recursive and authoritative servers (guide, Wikipedia, 15 min)
Knowing which server should cache or author an answer prevents testing the wrong endpoint.
- Inspect the client resolver state (reference, Linux man-pages, 16 min)
Local interfaces, search domains, selected servers and cache state explain many machine-specific failures.
- Query records directly with dig (reference, BIND 9 documentation, 20 min)
Explicit server and record-type queries turn a vague application error into reproducible DNS evidence.
- Interpret common DNS record types (guide, Wikipedia, 18 min)
A, AAAA, CNAME, MX, TXT and NS records carry different constraints and should not be treated interchangeably.
- Follow delegation into the zone (guide, Wikipedia, 15 min)
Zone boundaries and nameserver delegation identify who is responsible for the missing or stale answer.
- Read DNSSEC validation evidence (guide, Wikipedia, 20 min)
Signatures and the chain of trust explain SERVFAIL cases caused by broken secure delegation.
- Handle caches without unsafe shortcuts (guide, Wikipedia, 15 min)
Understanding cache behaviour supports targeted expiry and retesting instead of disabling protection blindly.