Generally TCP is reliable and UDP is not reliable. DNS which has to be…

2017

Generally TCP is reliable and UDP is not reliable. DNS which has to be reliable uses UDP because

  1. A.

    UDP is slower

  2. B.

    DNS servers has to keep connections

  3. C.

    DNS requests are generally very small and fit well within UDP segments

  4. D.

    None of these

Attempted by 168 students.

Show answer & explanation

Correct answer: C

DNS primarily uses UDP for standard queries because DNS messages are typically small enough to fit within a single UDP datagram. This avoids the overhead of establishing and tearing down TCP connections, resulting in faster response times for most lookups. While DNS can use TCP for larger responses or zone transfers, UDP is the default choice for efficiency.

A video solution is available for this question — log in and enroll to watch it.

Explore the full course: Isro