📞 0339-0387701 (WhatsApp) Contact

« Back to Information & Networking (NCCIA)

Why does DNS normally use UDP instead of TCP for queries?

A. UDP encrypts the query automatically
B. UDP is faster and a typical query fits in a single packet ✅
C. TCP cannot carry domain names
D. UDP works without an internet connection

Correct Answer: B. UDP is faster and a typical query fits in a single packet

Explanation

  • DNS queries are small, so the low overhead of UDP is ideal
  • TCP is used when a response is too large or for zone transfers.