Lesson 1 of 9 · 24m
Recursive Resolvers, Authoritative Servers, and the Question That Matters
Separate resolver work from authoritative ownership so you can tell cache trouble, delegation trouble, and zone-data trouble apart.
The first DNS outage I ever inherited was announced as “the DNS server is down.” There were four DNS servers involved, three were fine, and the broken one was not even ours. A customer recursive resolver had cached a stale delegation. The incident became manageable only when we stopped saying “DNS” and asked the correct question: who is expected to answer this name, and who actually answered it?
The two jobs are different
A recursive resolver does work on behalf of a client. It starts at the root, follows delegations, queries authoritative servers, validates DNSSEC if configured, caches answers, and returns a final response. An authoritative server does not chase other nameservers. It answers only for zones it serves, and its answer is authoritative because it owns that zone data.
laptop -> recursive resolver -> root -> .org -> authoritative for sudosecurity.org
cache + validation delegation delegation final answerThe operational consequence is simple: recursive servers are performance and trust infrastructure; authoritative servers are source-of-truth infrastructure. They fail differently and should be monitored differently.
Ask the resolver and the authority separately
When a name misbehaves, never test only the public resolver. Compare it with a direct authoritative query:
dig sudosecurity.org A @1.1.1.1
dig sudosecurity.org A @ella.ns.cloudflare.com +norecurseThe +norecurse flag matters. You are asking the authoritative server what it knows, not asking it to perform recursion. If the recursive answer differs from the authoritative answer, suspect cache, stale delegation, DNSSEC validation, response policy zones, or a middlebox — not necessarily bad zone data.
Identify the answering party
dig tells you which server responded, but operators often miss the useful fields:
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; SERVER: 1.1.1.1#53ra means recursion is available, so this is almost certainly a resolver. An authoritative-only server usually omits ra and may return aa, the authoritative answer bit, for names inside its zone. Neither bit is a complete diagnosis, but together they tell you which role the speaker believes it has.
Split-horizon makes this messier
Internal resolvers may answer the same zone differently from the public Internet. That can be intentional: private service endpoints, internal aliases, or a safer management plane. It is dangerous when nobody documented which view is authoritative for which clients. During an incident, record the network location and resolver path as part of the evidence.
Field notes
- “Works on 8.8.8.8 but not locally” is not a fix; it is evidence of a resolver-path difference.
- A recursive resolver can answer correctly from cache while the authoritative zone is already broken.
- Public authoritative providers often serve many zones from the same IP; the nameserver name matters more than the address.
- Do not restart a resolver because one lookup is wrong. Capture the mismatch first, or you destroy the evidence.
Was this lesson helpful?