Which of the following is a characteristic of UDP that makes it suitable for DNS name resolution queries?
- A.UDP provides guaranteed delivery, ensuring DNS responses always arrive
- B.UDP supports priority queuing to ensure DNS queries are answered first
- C.UDP automatically encrypts DNS queries to prevent snooping
- D.UDP is connectionless and low-overhead - a DNS query and response are typically a single small exchange that does not require the reliability overhead of TCP's three-way handshake
Why D is correct
DNS queries are typically small (< 512 bytes) and require a single request-response. Using TCP would require a three-way handshake, doubling the round-trip time before the answer is received. UDP's connectionless nature allows the DNS client to send a query and receive an answer in a single round trip. If the answer is lost, the DNS resolver simply retries. The tradeoff (no guaranteed delivery) is acceptable because DNS retries are fast and cheap.
Know someone studying for Network Fundamentals? Send them this one.