Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Does DNS use TCP or UDP or both?

Answer Posted / sathyender

TCP is a connection-oriented protocol and it requires data
to be consistent at the destination and UDP is
connection-less protocol and doesn't require data to be
consistent or don't need a connection to be established with
host for consistency of data.
UDP packets are smaller in size. Can't be greater then 512
bytes. So any application needs data to be transffered
greter than 512 bytes uses TCP
We often discuss why services use both the protocols i.e.
TCP and UDP. These services can also realy on TCP instead of
UDP because TCP is a connection-oriented protocol whereas
UDP is connection-less! then why use UDP?
For example, DNS uses both TCP and UDP for valid reasons
described below. Note that 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.

Is This Answer Correct ?    95 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you ipconfig all?

1036


What is ip set?

985


What is the difference between static and dynamic ip addresses?

1147


Can you explain how names are translated (resolved) into ip address?

1093


How do I find my servers ip address?

1038


Explain how many hosts can be on each network? Consider a fixed subnet partition of a class b network number that will accommodate at least 76 networks.?

1301


How do firewall rules work?

1024


In which layer SMTP is used?

1151


What are the different layers in TCP/IP model? What are the protocols associated with each layer?

1079


What can an ip address tell me?

1058


What are TCP/IP protocols?

1055


How to identify ip address?

1006


How does interprocess communication work?

1040


What is the basics of internet routing?

1068


Where is tcp used?

990