Diagnose DNS resolution from client to authority

8 steps · about 2 h 14 min · Intermediate

  1. Model the DNS lookup path (guide, Wikipedia, 15 min)

    A resolver, root, TLD and authoritative server play different roles that must be tested separately.

  2. Separate recursive and authoritative servers (guide, Wikipedia, 15 min)

    Knowing which server should cache or author an answer prevents testing the wrong endpoint.

  3. 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.

  4. 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.

  5. 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.

  6. Follow delegation into the zone (guide, Wikipedia, 15 min)

    Zone boundaries and nameserver delegation identify who is responsible for the missing or stale answer.

  7. Read DNSSEC validation evidence (guide, Wikipedia, 20 min)

    Signatures and the chain of trust explain SERVFAIL cases caused by broken secure delegation.

  8. Handle caches without unsafe shortcuts (guide, Wikipedia, 15 min)

    Understanding cache behaviour supports targeted expiry and retesting instead of disabling protection blindly.