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?
- A. 6
- B. 5
- C. 3
- 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
- A bank's session cookie is set with SameSite=Lax. While logged in, the user visits evil.example, which (1) auto-submits a hidden POST form…
- A router has four equal-cost paths to a destination and uses ECMP. Why does it usually choose the path by hashing each packet's 5-tuple…
- An IPv6 packet has Payload Length = 1240 and carries one 8-byte Fragment extension header before the upper-layer data. What is the total…
- Match each IPv6 address with its type. P. ff02::1 Q. fe80::1 R. fd12:3456::1 S. ::1 1. Loopback 2. Link-local unicast 3. All-nodes…
- Three PCs behind one NAT router ping the same public server at the same time. ICMP Echo messages have no port numbers. How does the NAT…
- An 802.1Q trunk is configured with native VLAN 1 on switch A but native VLAN 99 on switch B. What happens to an untagged frame that A…