CS FundamentalsVery hardGATE CS · product-company placement

A recursive resolver has an empty cache apart from the root hints. A client asks for the A record of www.a.com, which is a CNAME for cdn.b.net. Every referral includes glue, and a.com's server is not authoritative for b.net. How many queries does the resolver send to authoritative servers?

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

Correct answer: A. 6

Root → com → a.com yields the CNAME (3 queries). The .com referral does not help with .net, so it asks the root again, then the net servers, then b.net's server (3 more): 6 in all. Answering 5 wrongly assumes the root step can be skipped.

More Computer Networks questions

Exams that ask this topic