Skip to content

ISRO Scientist/Engineer CSE 2017Computer Networks › Transport Layer (TCP and Flow Control)

ISRO Scientist/Engineer CSE 2017 PYQ: Generally, TCP is reliable and UDP is not reliable. DNS which has to be reliable uses UDP because

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.
    Correct answer
  4. D
    None of these.

Answer

(C) DNS requests are generally very small and fit well within UDP segments.

Approach

The question asks why DNS, despite needing reliability, uses UDP. The key is that DNS queries and their typical responses are small enough to fit in a single UDP datagram, avoiding the overhead of TCP connection setup. UDP is also faster than TCP, not slower, and DNS servers do not maintain connections for typical queries.

Reviewed by ISRO IQ Editorial Team.