Generally, TCP is reliable and UDP is not reliable. DNS which has to be reliable uses UDP because?
4 views
1 Answers
Option 3 : DNS requests are generally very small and fit well within UDP segments
UDP is much faster. TCP is slow as it requires 3-way handshake. The load on DNS servers is also an important factor. DNS servers (since they use UDP) don’t have to keep connections.
DNS requests are generally very small and fit well within UDP segments.
UDP is not reliable, but reliability can be added on the application layer. An application can use UDP and can be reliable by using a timeout and resend at the application layer.
4 views
Answered