CS FundamentalsHardGATE CS · Product company CS fundamentals

A recursive resolver starts with an empty cache. Client 1 resolves a.example.com, then client 2 resolves b.example.com. Counting only queries the resolver sends to root, TLD and authoritative servers, how many are sent in total?

  1. A. 6
  2. B. 4
  3. C. 3
  4. D. 5

Correct answer: B. 4

First lookup: root → .com TLD → example.com authoritative (3 queries); the referrals (NS and glue records) are cached. The second lookup goes straight to the example.com server: 1 more query, 4 in total.

More Computer Networks questions

Exams that ask this topic