Re: NSLookup vs. Ping results



D0Thomas wrote:
> What would cause the Ping command to not resolve an address (such as
> www.yahoo.com) when the NSLookup utility can resolve the address just
> fine?
> I have a win2000 client that can ping the IP address directly
> (68.142.197.80) but when I ping www.yahoo.com it says host not found.
> Yet, typing NSLOOKUP www.yahoo.com resolves the addresses ok.
>
> TIA

In addition to Herb's post, the nslookup command has it's own resolver
service, but the ping command uses the system's resolver service, which can
include other factors, such as what Herb mentioned about what DNS servers
are listed, the client side cache, which gets populated from what's in the
hosts file and previous queries.

Plus nslooku is a strict DNS query over UDP 53. Ping relies on the system to
query it.

Are you having any problems with resolving other names?

--
Regards,
Ace

Please direct all replies ONLY to the Microsoft public newsgroups
so all can benefit.

This posting is provided "AS-IS" with no warranties or guarantees
and confers no rights.

Ace Fekay, MCSE 2003 & 2000, MCSA 2003 & 2000, MCSE+I, MCT, MVP
Microsoft Windows MVP - Windows Server - Directory Services

Paramount: What's up with taking Enterprise off the air??
Infinite Diversities in Infinite Combinations.
=================================


.



Relevant Pages

  • Re: DNS problem???
    ... roger steele made a post then I commented below ... that hasn't been discretely determined yet because nslookup ... or ping hasn't been mentioned and assumed hasn't been tried by Whyme (the ... nslookup will resolve names, then we can rule out a DNS issue. ...
    (microsoft.public.win2000.dns)
  • Re: NSLookup vs. Ping results
    ... > What would cause the Ping command to not resolve an address (such as ... > www.yahoo.com) when the NSLookup utility can resolve the address just ... > I have a win2000 client that can ping the IP address directly ... > typing NSLOOKUP www.yahoo.com resolves the addresses ok. ...
    (microsoft.public.win2000.dns)
  • Dig and nslookup resolve; ping doesnt
    ... I'm able to resolve ... names such as www.yahoo.com using nslookup or dig but not using ping. ...
    (comp.os.linux.networking)
  • Re: One site wont resolve
    ... I can ping www.attws.com ... I am not really familiar w/ nslookup. ... Default Server: Unknown ... What would be the syntax to see if nslookup can resolve ...
    (microsoft.public.win2000.dns)
  • NSLookup vs. Ping results
    ... What would cause the Ping command to not resolve an address (such as ... www.yahoo.com) when the NSLookup utility can resolve the address just fine? ...
    (microsoft.public.win2000.dns)

Quantcast