Networking Forums

Networking Forums > Network Hardware > Home Networking > WINS, DNS And name resolution in general

Reply
Thread Tools Display Modes

WINS, DNS And name resolution in general

 
 
MJC
Guest
Posts: n/a

 
      09-05-2003, 09:13 AM
I've got a few questions about name resolution and the order that it occurs.
It was my understanding that the pc checks the local hosts (or should that
be lmhosts) file first and then WINS server, then DNS server. Is this
correct? What happens if the WINS and DNS servers cannot be found? In a
small peer-to-peer network all the pc's resolve the names of the others
themselves (don't they). So why do we need WINS? I know DNS has now
replaced it but I'm working on a LAN that has NT4 and WINS.




(E-Mail Removed)


 
Reply With Quote
 
 
 
 
Geoff Lane
Guest
Posts: n/a

 
      09-05-2003, 12:33 PM
On Fri, 5 Sep 2003 09:13:58 +0000 (UTC), "MJC"
<(E-Mail Removed)> wrote:

>I've got a few questions about name resolution and the order that it occurs.
>It was my understanding that the pc checks the local hosts (or should that
>be lmhosts) file first and then WINS server, then DNS server. Is this
>correct? What happens if the WINS and DNS servers cannot be found? In a
>small peer-to-peer network all the pc's resolve the names of the others
>themselves (don't they). So why do we need WINS? I know DNS has now
>replaced it but I'm working on a LAN that has NT4 and WINS.


I'm relatively new to this Networking lark but am enjoying the
learning curve.

I know on Linux you can set the search order, mine searches the local
host file first then DNS.

Not sure what happens when Windows takes over but is seems to work.

WINS is a bit of a mystery to me.

Geoff Lane

 
Reply With Quote
 
John Wunderlich
Guest
Posts: n/a

 
      09-05-2003, 04:19 PM
"MJC" <(E-Mail Removed)> wrote in
news:bj9k4m$fth$(E-Mail Removed):

> I've got a few questions about name resolution and the order that
> it occurs. It was my understanding that the pc checks the local
> hosts (or should that be lmhosts) file first and then WINS server,
> then DNS server. Is this correct?


It depends on what you are doing. You must consider Microsoft
Networking (ie NetBT or NetBios over TCP/IP) apart from raw TCP/IP
applications like web browsers, email servers/clients, and the like.
"WINS" and "lmhosts" applies only to NetBT. "DNS" and "HOSTS"
applies to TCP/IP.

Assuming that you are talking about NetBT, then a name is resolved
as follows:
1) Local Name Cache
2) WINS server
3) secondary WINS
4) Name query Broadcast on local subnet
5) LMHOSTS
6) DNS

If you are talking a TCP/IP application, you can omit steps 1-5
above.


> What happens if the WINS and DNS servers cannot be found?


see above. Microsoft networking cannot "see" past routers without
WINS/lmhosts; so as long as a client is on the same subnet, the "name
query broadcast" will probably find it.

> In a small peer-to-peer network all the pc's resolve the
> names of the others themselves (don't they). So why do we
> need WINS?


If the entire network consists of a single subnet, WINS is not
needed. If I randomly plug my laptop into a DHCP network, there is
no way for someone on a different subnet (using Microsoft
Networking) to find my laptop on the network. With WINS, my laptop
will register itself with the WINS server as soon as I plug it in
and others can query the WINS server to find my laptop on the
network.

> I know DNS has now replaced it but I'm working on a LAN
> that has NT4 and WINS.


I don't believe DNS has totally replaced it. DNS is used for TCP/IP
resolution and is a last resort when all else fails for Microsoft
networking. Unless my laptop can somehow register with a [dynamic]
DNS when it is DHCP-assigned an address (and everyone else on the
network knows how to turn that name into a fully-qualified domain
name), nobody will know where I am on the network.

For more info:
<http://www.microsoft.com/ntserver/techresources/commnet/wins/winswp98.asp>

HTH,
John

 
Reply With Quote
 
Mister K
Guest
Posts: n/a

 
      09-06-2003, 05:18 PM
WINS
DNS
LMHOSTS
Broadcast

In a Peer to Peer all workstations send a Broadcast.

WINS is used for Wide Area Networks (as Broadcasts will not pass through
routers) and to reduce bandwidth consumption due to the Broadcasts.

Windows 2000 Server and Server 2003 use DNS for name resolution.
Microsoft has decided to join the Unix world and use Domain Names
instead of the Windows Naming scheme.
Microsoft will no longer be supporting WINS in the future.


MJC wrote:
> I've got a few questions about name resolution and the order that it occurs.
> It was my understanding that the pc checks the local hosts (or should that
> be lmhosts) file first and then WINS server, then DNS server. Is this
> correct? What happens if the WINS and DNS servers cannot be found? In a
> small peer-to-peer network all the pc's resolve the names of the others
> themselves (don't they). So why do we need WINS? I know DNS has now
> replaced it but I'm working on a LAN that has NT4 and WINS.
>
>
>
>
> (E-Mail Removed)
>
>


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
XP does not use WINS - Maybe a BUG in Name Resolution Process? FB Windows Networking 1 07-11-2008 10:18 PM
WINS resolution Dheeraj Windows Networking 1 04-25-2007 05:06 AM
Name resolution problem - WINS to blame? Andre Windows Networking 3 07-21-2005 06:01 PM
Odd WINS VPN name resolution problem Jerry Paquette Windows Networking 1 02-26-2004 12:12 PM
DNS WINS resolution wrong address RRAS Roland Klein Overmeer Windows Networking 3 12-10-2003 11:54 AM



1 2 3 4 5 6 7 8 9 10 11