Tag: tcp or udp

TechTip: DNS works on TCP or UDP ?

This is one of the very basic questions asked in a lots of interviews: Which protocol DNS works on - UDP or TCP ? And when you don't know the answer then you take a wild guess and says anyone of them :), which in any case is wrong as DNS works on both, TCP as well as UDP.

Two protocols being different from each other, TCP being a connection oriented protocol and UDP being a connection less protocol, but DNS uses both of them, not for the same purpose, but for different purpose.

Read the complete article »