Ordering of Name Resolution on Win2K Server

C

Chris & Val

Dear All,

I have some RPC applications which are failing under certain situations. We
suspect it may be a DNS issue, and I have put the necessary machine names in
LMHOSTS (with a #PRE flag) and hosts. I run nbtstat with -R flag. If DNS
fails for some reason will LMHOSTS be used or is LMHOSTS used first. I don't
believe the ordering can be changed can it ? I thought the oder was cache,
local hosts, lmhosts and then DNS

Thanks
Chris
 
G

Guest

Name resolution is application specific. If it is NetBIOS dependent, the
latter
is the primary name resolution method attempted. Note that DNS can use
WINS if name resolution forwarding is activated.

DNS name resolution flow:
D NS cache
H ost File
D NS

WINS name resolution flow:
N etBIOS cache
W INS
B roadcast
L mHost
 
H

Herb Martin

Chris & Val said:
Dear All,

I have some RPC applications which are failing under certain situations. We
suspect it may be a DNS issue, and I have put the necessary machine names in
LMHOSTS (with a #PRE flag) and hosts.

Notice that LMHOSTS is primarily about NetBIOS
names and the DNS is primarily about Internet style
names.

Depends on what you are resolving, although under
certain settings DNS will backup NetBIOS and the
default is for NetBIOS to do the same for DNS resolution.
I run nbtstat with -R flag. If DNS
fails for some reason will LMHOSTS be used or is LMHOSTS used first. I
don't

By default.
believe the ordering can be changed can it ? I thought the oder was cache,
local hosts, lmhosts and then DNS

The order is variable based on several things, e.g., :

1) Type of name
2) WINS server setting or not
3) NetBIOS uses DNS check box
4) DNS server setting or not
5) LMhosts or Hosts files present
6) LMhosts file #PRE entries.
7) Particular application (most use the built-in resolver)
8) Netbios node type

Sorry but it is just more complicated than a fixed order
without knowing SOME of those facts from your systems.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top