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 →
- Ask the customer for the output of
nslookup nameand the resolver IP they used - Query from several places:
dig @8.8.8.8 name,dig @1.1.1.1 name,dig @<authoritative> name - Compare answers and TTLs
- Check for IPv6 AAAA records without a working IPv6 path
- 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.
More on DNS & Service Discovery
A customer types www.example.com in a browser. Walk through how DNS resolves it.BeginnerWhat is the difference between an A record and a CNAME, and when do you use each?BeginnerWhy can't you put a CNAME at the zone apex, and what do you use instead?BeginnerYou are moving a site to a new server. What do you do with DNS to make the cutover smooth?BeginnerHow do you find which nameservers are authoritative for a domain and query them directly?BeginnerWhat DNS records do you set up for company email?Beginner