Networking Forums

Networking Forums > Computer Networking > Windows Networking > LMHOSTS not working for NSLOOKUP and PING

Reply
Thread Tools Display Modes

LMHOSTS not working for NSLOOKUP and PING

 
 
Carol Chisholm
Guest
Posts: n/a

 
      08-06-2004, 11:57 AM
When I use PING and NSLOOKUP my LMHOSTS file is no longer taken into
consideration.

However NBTSTAT -c does show the entries corresponding to those in the
LMHOSTS file.

Any ideas (Windows Server 2003, cache only ISA 2000, single NIC, fixed
IP address, NETBIOS over TCP/IP enabled)

 
Reply With Quote
 
 
 
 
Dusty Harper {MS}
Guest
Posts: n/a

 
      08-06-2004, 06:38 PM
NSLookup queries DNS servers, so the LMHosts shouldn't really come into
play.

As for PING, it will use whatever name resolution it can, which by default
on Windows 2000+ is something like:

Cache
Hosts file
DNS lookup
LMHosts file
WINS
Broadcast on the wire

If anything answers the query before hand, the rest are not used. This
means that if DNS answers the query, then LMHosts will not be used

--
--
Dusty Harper
Microsoft Corporation
----------------------------------------------------------------------------
This posting is provided "AS IS", with NO warranties and confers NO rights
----------------------------------------------------------------------------

"Carol Chisholm" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> When I use PING and NSLOOKUP my LMHOSTS file is no longer taken into
> consideration.
>
> However NBTSTAT -c does show the entries corresponding to those in the
> LMHOSTS file.
>
> Any ideas (Windows Server 2003, cache only ISA 2000, single NIC, fixed
> IP address, NETBIOS over TCP/IP enabled)
>



 
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
Ping does not resolve, nslookup does, DNS queries end up externall Mike. Windows Networking 3 03-06-2008 06:18 PM
Window 2003 Server - NSLOOKUP not working Gulfstream Windows Networking 4 10-19-2007 06:33 PM
Nslookup succeeds, but ping fails to resolve hostname Curt McNamee Windows Networking 1 11-07-2006 03:04 PM
nslookup works but ping does'nt !? Mark Linux Networking 1 10-12-2006 02:54 AM
Dig and nslookup resolve; ping doesn't Mark Tunnell Linux Networking 1 07-14-2005 07:59 PM



1 2 3 4 5 6 7 8 9 10 11