CS FundamentalsModerateGATE CS · Product company CS fundamentals

A laptop asks its local DNS server (recursive service) for www.campus.example.com. The local server has nothing cached except the address of the .com TLD servers, and it resolves names iteratively. The example.com server is authoritative for campus.example.com too. How many DNS messages (queries and replies) are exchanged in total?

  1. A. 6
  2. B. 8
  3. C. 4
  4. D. 10

Correct answer: A. 6

Laptop ↔ local (2), local ↔ .com TLD (2, which refers it to the example.com server), local ↔ example.com authoritative (2). The cached TLD address removes the root round trip that would make it 8.

More Computer Networks questions

Exams that ask this topic