English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Before using dns ,netbios was used for name resolution ,but we switch to dns becoz of many reasons,one of them was it broadcast everytime for resolving computer name .but i come to know that dns works on the udp protocol which support only broadcasting

2006-10-10 02:16:11 · 6 answers · asked by Devdeep 1 in Computers & Internet Computer Networking

6 answers

DNS uses both UDP and TCP protocols depending on circumstance.

2006-10-10 02:25:52 · answer #1 · answered by Ming R J 3 · 0 0

DNS uses UDP to keep network and processor loads low. It can use TCP but there's no good reason to do so most of the time.

DNS does NOT use broadcasts for name resolution. Don't know where you got that idea.

A Netbios host (more correctly NetBT, aka Netbios over TCP/IP in the Windows world) WILL send out a local subnet broadcast to attempt to resolve a machine name.

In a pure TCP/IP network, a host queries its configured DNS server directly to resolve host names; this is NOT a broadcast. If there is no DNS server configured, or if the DNS server is unreachable, name resolution fails. The host will NOT resort to a broadcast to try and resolve the name.

2006-10-10 03:33:16 · answer #2 · answered by Bostonian In MO 7 · 0 0

UDP is broadcasting? Are you sure? I know NetBIOS is not-routable over network boundaries and UDP/IP simply is. UDP is like a postcard with speedy delivery in mind over the full blown registered lettermail approach used by TCP.

Not to mention NetBIOS is really tied to old Microsoft SMB systems. But if UDP is indeed broadcasting what level of broadcasting (as in what subnet) does it perform? You answered your own question on that one.

2006-10-10 03:41:45 · answer #3 · answered by Andy T 7 · 0 0

while both netbios and dns provide name resolution, they provide these for different protocols. dns is a resolution for the tcp/ip protocol, whereas netbios belongs to the smb-protocol.
they have nothing to do with each other.

dns can use both, udp and tcp protocol. however, commonly udp is used. guess it was chosen because it requires no handshake like tcp and is more efficient (with the downside that packets might get lost unnoticed).

2006-10-10 02:29:44 · answer #4 · answered by Anonymous · 1 0

Great info and very useful answer , ****The expected use is for DNS to run on top of UDP, with a fall-back to TCP for data packages that can't fit into a single 8K UDP packet***** I think you meant (UDP segments) ?!!

2016-03-28 03:37:52 · answer #5 · answered by Anonymous · 0 0

well check it out buddy here is the reason the link to ur answer from microsoft
http://www.microsoft.com/technet/itsolutions/network/deploy/confeat/domain.mspx

2006-10-10 02:23:08 · answer #6 · answered by Codemaster 2 · 0 0

fedest.com, questions and answers