asked 84.1k views
4 votes
Why does dns use udp instead of tcp? if a dns packet is lost, there is no automatic recovery. what are the consequences?

1 Answer

2 votes
If a DNS packet using UDP is lost this problem must be handled at the application layer. If an answer is not received after some period of time the specific application may choose to resend the DNS query. I can go much more into detail but this should answer your question. If you need more detail just ask.
answered
User Marat Khasanov
by
7.8k points