Interview Prep/Networking/DNS & Service Discovery

How do you debug "it resolves for me but not for the customer"?

IntermediateScenarioDNS & Service Discovery
Answer

Situation read → Likely different resolver, cached data, split horizon or a propagation issue.

What I'd do →

  1. Ask the customer for the output of nslookup name and the resolver IP they used
  2. Query from several places: dig @8.8.8.8 name, dig @1.1.1.1 name, dig @<authoritative> name
  3. Compare answers and TTLs
  4. Check for IPv6 AAAA records without a working IPv6 path
  5. Check if the customer's network uses DNS filtering or a corporate resolver

Why → Isolating which resolver gives a different answer tells you whether the zone, the cache or the network is at fault.

Interview tip → Use online multi-location checkers as a second opinion.

All Networking questions Roadmap: Networking for DevOps

More on DNS & Service Discovery