CS FundamentalsModerateGATE CS · Product company CS fundamentals

A resolver caches an A record whose TTL is 300 s. Clients look the name up at t = 0, 100, 250, 420, 650 and 700 s, with nothing cached at t = 0. How many times must the resolver fetch the record from the authoritative server?

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

Correct answer: D. 2

t = 0: fetch, valid until 300; 100 and 250 are hits. t = 420: expired, fetch again, valid until 720, so 650 and 700 are hits. Two fetches in all.

More Computer Networks questions

Exams that ask this topic