Windows XP Community - XPHeads



Registry Mechanic - Free Scan Now

Need explanation on how DNS works on home LAN

microsoft.public.windowsxp.network_web


Reply
  #1 (permalink)  
Old 08-19-2008, 03:18 PM
jtpr
 
Posts: n/a
Need explanation on how DNS works on home LAN
If my home router (Netgear) is supplying DHCP to the network, and
ipconfig /all reveals the DNS servers from my provider, but not the
address of the router itself, how do the names of the nodes on my LAN
get resolved? Also, if I add a new system to the network, it cannot
resolve names for quite a while after being connected, so I must
connect to shares by IP number. Is there a way to speed this process
up?

-Jim
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 08-19-2008, 05:39 PM
smlunatick
 
Posts: n/a
Re: Need explanation on how DNS works on home LAN
On Aug 19, 4:18*pm, jtpr <jtpr...@gmail.com> wrote:
> If my home router (Netgear) is supplying DHCP to the network, and
> ipconfig /all reveals the DNS servers from my provider, but not the
> address of the router itself, how do the names of the nodes on my LAN
> get resolved? *Also, if I add a new system to the network, it cannot
> resolve names for quite a while after being connected, so I must
> connect to shares by IP number. *Is there a way to speed this process
> up?
>
> -Jim


Since you have a DHCP service assigning IP addresses from the router,
the router is supplying the DNS servers IP addresses. Some routers
allow your to use different DNS servers than the one it detect from
your Internet service provider. I also now of some routers that will
act like the DNS servers and will "copy" the DNS resolution from the
DNSes of your provider.

As for the name resolution problem, check the anti-virus software for
any / all Internet worm virus protection settings. This is almost a
firewall and it is blocking the NetBIOS name resolution requests.
Most Internet worm viruses tend to request a name resolution in order
to attempt to spread itself.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 08-19-2008, 08:05 PM
John Wunderlich
 
Posts: n/a
Re: Need explanation on how DNS works on home LAN
jtpr <jtpryan@gmail.com> wrote in news:9396d75d-0b9e-492b-9f0c-
6e254ca947a6@m36g2000hse.googlegroups.com:

> If my home router (Netgear) is supplying DHCP to the network, and
> ipconfig /all reveals the DNS servers from my provider, but not the
> address of the router itself, how do the names of the nodes on my LAN
> get resolved?


You are confusing normal IP with Microsoft File Sharing (NetBT).
A DNS server (and your 'Hosts' file) will resolve IP addresses.
For File sharing, NetBT will not traverse a router unless you specify a
WINS server. On your local network, NetBT usually uses Broadcasts (and
your 'lmhosts' file) to resolve names, sometimes falling back on a DNS
server as a last resort.

> Also, if I add a new system to the network, it cannot
> resolve names for quite a while after being connected, so I must
> connect to shares by IP number. Is there a way to speed this process
> up?


On each subnet, one computer is elected as a Browse Master. It will
hold the list of available computers and responds when asked. Try
bringing up a command prompt and enter the command:
net view
You should see a list of computers on the subnet. If you don't, then
you most likely have a browse master issue on your subnet. Almost
always this is caused by just one computer on the subnet that has a
firewall enabled and is not properly configured to work with MS File
Sharing.

HTH,
John
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 08-19-2008, 08:19 PM
Lem
 
Posts: n/a
Re: Need explanation on how DNS works on home LAN
jtpr wrote:
> If my home router (Netgear) is supplying DHCP to the network, and
> ipconfig /all reveals the DNS servers from my provider, but not the
> address of the router itself, how do the names of the nodes on my LAN
> get resolved? Also, if I add a new system to the network, it cannot
> resolve names for quite a while after being connected, so I must
> connect to shares by IP number. Is there a way to speed this process
> up?
>
> -Jim


Actually, ipconfig /all *should* reveal the address of the router itself
(as the "default gateway") or your LAN computers won't get to the
Internet. The IP address of the router also should show up as the DHCP
Server.

--
Lem -- MS-MVP

To the moon and back with 2K words of RAM and 36K words of ROM.
http://en.wikipedia.org/wiki/Apollo_Guidance_Computer
http://history.nasa.gov/afj/compessay.htm
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 08-19-2008, 09:12 PM
AJR
 
Posts: n/a
Re: Need explanation on how DNS works on home LAN
jtpr - some confusion here - the gateway ip is the address of the router.

Name recognition of the local network will not be instantaneous.

"Resolution" of local "nodes" (Computers) is a function of the router


"jtpr" <jtpryan@gmail.com> wrote in message
news:9396d75d-0b9e-492b-9f0c-6e254ca947a6@m36g2000hse.googlegroups.com...
> If my home router (Netgear) is supplying DHCP to the network, and
> ipconfig /all reveals the DNS servers from my provider, but not the
> address of the router itself, how do the names of the nodes on my LAN
> get resolved? Also, if I add a new system to the network, it cannot
> resolve names for quite a while after being connected, so I must
> connect to shares by IP number. Is there a way to speed this process
> up?
>
> -Jim



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 08-19-2008, 09:59 PM
John Wunderlich
 
Posts: n/a
Re: Need explanation on how DNS works on home LAN
"AJR" <ajrjdr@comcast.net> wrote in
news:u0rZABkAJHA.1628@TK2MSFTNGP02.phx.gbl:

> jtpr - some confusion here - the gateway ip is the address of the
> router.


Yes.

> Name recognition of the local network will not be instantaneous.


For Microsoft Networking on a single local subnet (ie no WINS server),
name resolution is accomplished by broadcast and should be almost
instantaneous so long as the subnet's Browse Master is operational.

> "Resolution" of local "nodes" (Computers) is a function of the
> router


No. The router only acts as a dumb switch when communicating within
the local subnet. Identification of local machines is broadcast in the
local network and the list is maintained by one PC machine elected as
the Browse Master.

-- John


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 08-20-2008, 09:47 AM
jtpr
 
Posts: n/a
Re: Need explanation on how DNS works on home LAN
On Aug 19, 5:59*pm, John Wunderlich <jwunderl...@lycos.com> wrote:
> "AJR" <ajr...@comcast.net> wrote innews:u0rZABkAJHA.1628@TK2MSFTNGP02.phx..gbl:
>
> > jtpr - some confusion here - the gateway ip is the address of the
> > router.

>
> Yes.
>
> > Name recognition of the local network will not be instantaneous.

>
> For Microsoft Networking on a single local subnet (ie no WINS server),
> name resolution is accomplished by broadcast and should be almost
> instantaneous so long as the subnet's Browse Master is operational.
>
> > "Resolution" of local "nodes" (Computers) *is *a function of the
> > router

>
> No. *The router only acts as a dumb switch when communicating within
> the local subnet. *Identification of local machines is broadcast in the
> local network and the list is maintained by one PC machine elected as
> the Browse Master.
>
> -- John


I see. So how do I find out who is the browse master. It has been 24
hours now and the new machine still can no longer either be pinged by
name nor can it ping others by name. IP number works both ways.

-Jim
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 08-20-2008, 06:45 PM
John Wunderlich
 
Posts: n/a
Re: Need explanation on how DNS works on home LAN
jtpr <jtpryan@gmail.com> wrote in news:b2f0a8b2-b88b-485a-b44a-980d0b8fe1e7@e53g2000hsa.googlegroups.com:

> So how do I find out who is the browse master. It has been 24
> hours now and the new machine still can no longer either be pinged by
> name nor can it ping others by name. IP number works both ways.
>


A couple of things to check first...

1) Make sure your computer name is 15 characters or less and only
uses the characters a-z, 0-9, and '-'.

2) Bring up a command prompt and enter the command:
ipconfig /all

One of the output lines is "Node Type". Make sure that the node
type is *not* P-Type or Peer-to-Peer. For name resolution to
work, it should be either "Broadcast", "Mixed", or "Hybrid". If
it is Peer-to-Peer, then try this link to change it:

<http://www.chicagotech.net/netbios&wins.htm#How%20to%20modify%20Node%20Type>
[There is also some good troubleshooting info there]

3) The simplest way to find the browse master is using the
"browstat.exe" application. But since that application is not
usually on your machine, the next best thing is to type the
following line for each machine on your network:

nbtstat -A <IP address>
or
nbtstat -a <computername>

If the resulting output has the line:
..__MSBROWSE__.
in it, then that node is the browse master. There should be only one
Browse Master per workgroup/domain per subnet.

HTH,
John
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 08-26-2008, 03:48 PM
jtpr
 
Posts: n/a
Re: Need explanation on how DNS works on home LAN
On Aug 20, 2:45*pm, John Wunderlich <jwunderl...@lycos.com> wrote:
> jtpr <jtpr...@gmail.com> wrote innews:b2f0a8b2-b88b-485a-b44a-980d0b8fe1e7@e53g2000hsa.googlegroups.com:
>
> > So how do I find out who is the browse master. *It has been 24
> > hours now and the new machine still can no longer either be pinged by
> > name nor can it ping others by name. *IP number works both ways.

>
> A couple of things to check first...
>
> 1) Make sure your computer name is 15 characters or less and only
> uses the characters a-z, 0-9, and '-'.
>
> 2) Bring up a command prompt and enter the command:
> * *ipconfig /all
>
> * *One of the output lines is "Node Type". *Make sure that the node
> * *type is *not* P-Type or Peer-to-Peer. *For name resolution to
> * *work, it should be either "Broadcast", "Mixed", or "Hybrid". *If
> * *it is Peer-to-Peer, then try this link to change it:
>
> * *<http://www.chicagotech.net/netbios&wins.htm#How%20to%20modify%20Node%...>
> * [There is also some good troubleshooting info there]
>
> 3) The simplest way to find the browse master is using the
> "browstat.exe" application. But since that application is not
> usually on your machine, the next best thing is to type the
> following line for each machine on your network:
>
> * *nbtstat -A <IP address>
> or
> * *nbtstat -a <computername>
>
> If the resulting output has the line:
> * *..__MSBROWSE__.
> in it, then that node is the browse master. There should be only one
> Browse Master per workgroup/domain per subnet.
>
> HTH,
> * John


John,

Thank you for all your help. That did fix it, going from P2P to
Hybrid. Why does a system end up as one or the other?

-Jim
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 08-26-2008, 07:52 PM
John Wunderlich
 
Posts: n/a
Re: Need explanation on how DNS works on home LAN
jtpr <jtpryan@gmail.com> wrote in
news:7283f343-49bb-4c4c-a912-b59f8fdae0be@b2g2000prf.googlegroups.com
:

>> A couple of things to check first...
>> 2) Bring up a command prompt and enter the command:
>> * *ipconfig /all
>>
>> * *One of the output lines is "Node Type". *Make sure that the
>> node type is *not* P-Type or Peer-to-Peer. *For name
>> resolution to work, it should be either "Broadcast", "Mixed",
>> or "Hybrid". *If it is Peer-to-Peer, then try this link to
>> change it:
>>
>> * *<http://www.chicagotech.net/netbios&w...20to%20modify%
>> 20N ode%...> * [There is also some good troubleshooting info
>> there]
>>
>>


> John,
>
> Thank you for all your help. That did fix it, going from P2P to
> Hybrid. Why does a system end up as one or the other?
>
> -Jim
>


According to what I've read, if a WINS server is not configured in the
network setup, then the node type default is Broadcast. If a WINS
server is configured, then the default is Hybrid.

What I think often happens (i.e. this is a guess) is that you plug your
machine into a network with a DHCP server and that DHCP server somehow
configures your computer to use a specific Node type (eg Peer-to-Peer)
which is probably correct for that network. This setting is then
retained and when you connect to a different network with a DHCP server
that does not specify a Node Type, the computer uses the last specified
type. Otherwise, I have no idea how a P-P would actually get set as it
is not trivial to change back to something reasonable...

Glad it worked. Thanks for the feedback.

-- John
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
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

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



All times are GMT. The time now is 02:26 PM.


Registry Mechanic - Free Scan Now
Driver Scanner 2009 - Free Scan Now




Design by Vjacheslav Trushkin for phpBBStyles.com.
Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74