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
- AUDP is slower.
- BDNS servers has to keep connections.
- CDNS requests are generally very small and fit well within UDP segments.Correct answer
- DNone 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.