in Computer Networks
12,098 views
30 votes
30 votes

Which one of the following uses UDP as the transport protocol?

  1. HTTP
  2. Telnet
  3. DNS
  4. SMTP
in Computer Networks
12.1k views

1 comment

DNS uses both TCP and UDP for valid reasons. UDP messages are not larger than 512 Bytes and are trucncted when greater than this size. So DNS uses TCP for Zone transfer and UDP for name queries either regular (primary) or reverse. UDP can be used to exchange small information whereas TCP must be used to exchange information larger than 512 bytes. If a client doesn’t get response from DNS it must retransmit the data using TCP after 3-5 seconds of interval.

We all know that there shouldn’t be any inconsistency in DNS zones – to make this happen DNS always transfer Zone data using TCP because TCP is reliable and make sure zone data is consistent by transfering the full zone to other DNS servers who has requested the data.

Source: http://blogs.msmvps.com/systmprog/2006/12/22/dns-works-on-both-tcp-and-udp/

11
11

5 Answers

4 votes
4 votes

Options a,b & d never use UDP.

DNS isn't limited to any one (TCP or UDP)
It does use TCP for inter DNS server communication because security is the priority.
For answering DNS queries, UDP is used because speed is the priority.

Source : http://techgenix.com/whydnsworksonbothtcpandudp/

Answer : (c)

Answer:

Related questions