Discussion Locked

Name Resolution

0 helpful
17 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
Here's the deal. I have a 25 person network running NT 4.0 with DHCP and WINS. A handfull of computers (mostly Win95) are having difficulty with name resolution, specifically with the servers name. This is causing problems when they attempt to access the Exchange Server through Outlook 2000. Just about all of them can get through when they click on "retry". Now from the server I can ping the PC's by name and from the PC's I can ping the other PC's on the network by name relatively quickly. On the handfull I am referring to, when I ping the server by name it takes 30-40 seconds to resolve the name to an IP address. I'm stumped. Please help.

17 replies

by geppetto

Sounds like you have problem with your browser services. You can try to see which server/workstation is trying to run as master browser and work in that direction. Otherwise, you can try to use lmhosts file in your workstation. LMHOSTS file can directly link up your servers and workstations. Furthermore, you can use login script to control distribution of revised lmhosts file.

by stuart.clark

Sounds Like you migth have some static entries within the config of some of your computers. ie hosts/lmhosts.

It might be worth changing the node type of your client machines to a Hybrid node, you can do this from inside DHCP Manager. This will force the computers to resolve to WINS before going to static files and broadcasts.

Or

Check that the wins server does not have any static mappings pointing to another location on the network.

Stuart.

by curious_george

Your question did not mention whether or not you are using DHCP to configure workstation WINS server settings, if you are not, it can and should be used. Additionally, any entries that are manually entered on the workstation, over-ride entries provided by the DHCP server so my question to you is, "Do any of the problem workstations manually configured to use an incorrect WINS server, or do they have any WINS server enties at all, or are the configured to use DHCP server for acquiring a WINS server IP? (It is optional).

by jeromey

We had a similar problem here. I have a feeling it has to do with the order of name resolution, (plus the fact that one version of MS TCP/IP had a bug in its order of name resolution). Setting up an "intranet" DNS server will likely provide a good workaround to your problem. You also might find this knowledge base article helpful:
http://support.microsoft.com/support/kb/articles/Q172/2/18.asp?LN=EN-US&SD=vap&FR=1
(you will have to reconstruct the URL or query for article Q172218

by curlergirl

This usually occurs when you have Win95 PCs that connect to an Exchange Server and are also using external (i.e., ISP-based) DNS server IP addresses. The best/easiest solution I've come up with is to add a HOSTS file to the workstations. On Win95,the HOSTS file resides in the C:\Windows directory; on Winnt, it's in the \%systemroot%\Winnt\system32\drivers\etc directory. You'll find a file called HOSTS.SAM that you can use as a basis. Just open that file, add a line to the end of the file with the IP address and name of your Exchange Server, then save the file as HOSTS - WITHOUT any extension. Instant Fix!! You can add an internal DNS server like someone else suggested, but this is a lot of work for such a small problem. Hope this helps!

by shardy

A couple things come to mind as I have experienced this one often. First look at the client machines .If you have only one wins server,be sure that the secondary wins server entry is NOT empty.Put the first entry in again,if necessary.Also two distinct wins servers are in order,especially if the wins server is a busy server. I cured a slow wins problem at my site by defragging the data drive on the wins server ! Also,if you are using wins resolution with dhcp specified (hybrid )type (46)resolution,host resolution via host and lmhosts will be at the bottom of the resolution order,
If all else fails or you want to setup a workaround,simply put the ip address in the mail profile at each of the 95 clients

by techstop

A previous responder stated that he thought you might be having a problem because of someone's external DNS server entries (if I'm remembering that post).

If that's your problem, this sort of thing can be overcome by having your own DNS server,which is set up so that if it can't resolve a name itself, it forwards the request to another nameserver. So your Win clients should have your nameserver(s) listed as their first (not only) choice; they'll get a quicker response when using DNS for resolution. This assumes the poster I referred to is correct about the source of your problem. You didn't mention DNS (although that's how I'd be resolving in this situation), only WINS.

Another thing to check is---and nearly all of my experience is with NT, so it might not apply to Win9x---what is the binding order for protocols on your adapters? If you're using TCP/IP and some other protocol (NetBEUI, etc.), then make sure TCP/IP is first or "top of the list" in the binding order. This speeds resolution,

by techstop

Oops...went over weird 1000 limit. Anyway...speeds resolution.

A final thought I had was on the resolution order. In Win95, I believe this is broadcast-WINS-DNS-lmhosts. This can be changed in the Registry, but I forget how right now.

Don't know if I've been helpful, but I thought I'd try.

This discussion is closed to new replies.