GATE / CS ARCHIVE

GATE CSE 2022 / QUESTION 35

GATE CSE 2022 Q35

Computer Networks · Application Protocols · Full GATE CSE 2022 paper

GATE 2022, Q35 1 mark · NAT
Report issue

Application Protocols

Question 35, GATE 2022: An uncached DNS resolver iteratively resolves www.gate.org.in. Under the intended separate-delegation model for each domain level, how many query-response pairs are required? Distinguish this convention from what the domain name alone guarantees.
Tap to enlarge
Answer & solution

Official answer: 4

Our answer: 4 under one delegation per named level

In the intended uncached iterative resolution, query the root, then the in server, then org.in, then gate.org.in for the www record. That is four query-response pairs. This counts the resolver’s outbound iterative exchanges, not a separate stub-to-resolver request. Four assumes a separate delegation at every shown domain level and no additional aliases; domain labels alone do not guarantee actual zone boundaries.

The logical exchange sequence is resolver→root (referral to .in), →.in (referral to org.in), →org.in (referral to gate.org.in), →gate.org.in (www address). Each request together with its response counts as one pair, not two. Real deployments can combine labels into one zone, so this is the examination hierarchy assumption.

Original paper, page 23 · Answer key