Werbung: SecurityConsole.de verwaltet Ihre Computer mit Security Essentails aus der Cloud!
30 Tage kostenfrei testen und 20% Rabatt für Ihre Bestellung mit Promocode: WBF2685582
(Promocode gültig bis 31.12.2011)

Group:  English: Windows Server » microsoft.public.windows.server.dns
Thread: DNS resolve problem with ping but not nslookup

HTVi
TV Discussion Newsgroups

DNS resolve problem with ping but not nslookup
vagniphor <vagniphor.3h7v7d[ at ]DoNotSpam.com> 10/13/2008 10:59:19 AM
After failing to update my windows XP to SP3, my PC was not able to resolve DNS with most softwares. The only one that seems to still work now is my Opera browser. Others, such as IE 6, firefox are not able to resolve the DNS.

I tried pinging google and it also fails.
*C:\>ping www.google.com
Ping request could not find host www.google.com. Please check the name and try again.*

But nslookup can still work
**** Can't find server name for address 192.168.0.1: Non-existent domain
*** Default servers are not available
Server: UnKnown
Address: 192.168.0.1

Non-authoritative answer:
Name: www.l.google.com
Addresses: 209.85.165.103, 209.85.165.104, 209.85.165.147, 209.85.165.99
Aliases: www.google.com*

Here are the results of ipconfig /all:
Windows IP Configuration

Host Name . . . . . . . . . . . . : xxxxxx
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Unknown
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : hsd1.fl.comcast.net.

Ethernet adapter Local Area Connection 3:

Connection-specific DNS Suffix . : hsd1.fl.comcast.net.
Description . . . . . . . . . . . : VIA Rhine II Fast Ethernet Adapter
Physical Address. . . . . . . . . : XX-XX-XX-XX-XX-XX
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 192.168.0.10
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.0.1
DHCP Server . . . . . . . . . . . : 192.168.0.1
DNS Servers . . . . . . . . . . . : 192.168.0.1
Lease Obtained. . . . . . . . . . : Monday, October 13, 2008 6:39:05 AM
Lease Expires . . . . . . . . . . : Thursday, October 16, 2008 6:39:05 AM -- vagniphor ------------------------------------------------------------------------ vagniphor's Profile: http://forums.techarena.in/members/vagniphor.htm View this thread: http://forums.techarena.in/server-dns/1053886.htm http://forums.techarena.in
Re: DNS resolve problem with ping but not nslookup
"Paul Bergson [MVP-DS]" <pbergson[ at ]allete_nospam.com> 10/13/2008 12:31:29 PM
Ping isn't going to work with many of the external host sites, so this is
normal. If you can do an nslookup on a site, then dns is resolving
correctly. It sounds more like the browsers you are attempting to use are
corrupted.

--
Paul Bergson
MVP - Directory Services
MCTS, MCT, MCSE, MCSA, Security+, BS CSci
2008, 2003, 2000 (Early Achiever), NT4

http://www.pbbergs.com

Please no e-mails, any questions should be posted in the NewsGroup
This posting is provided "AS IS" with no warranties, and confers no rights.

"vagniphor" <vagniphor.3h7v7d[ at ]DoNotSpam.com> wrote in message
news:vagniphor.3h7v7d[ at ]DoNotSpam.com...
[Quoted Text]
>
> After failing to update my windows XP to SP3, my PC was not able to
> resolve DNS with most softwares. The only one that seems to still work
> now is my Opera browser. Others, such as IE 6, firefox are not able to
> resolve the DNS.
>
> I tried pinging google and it also fails.
> *C:\>ping www.google.com
> Ping request could not find host www.google.com. Please check the name
> and try again.*
>
> But nslookup can still work
> **** Can't find server name for address 192.168.0.1: Non-existent
> domain
> *** Default servers are not available
> Server: UnKnown
> Address: 192.168.0.1
>
> Non-authoritative answer:
> Name: www.l.google.com
> Addresses: 209.85.165.103, 209.85.165.104, 209.85.165.147,
> 209.85.165.99
> Aliases: www.google.com*
>
> Here are the results of ipconfig /all:
> Windows IP Configuration
>
> Host Name . . . . . . . . . . . . : xxxxxx
> Primary Dns Suffix . . . . . . . :
> Node Type . . . . . . . . . . . . : Unknown
> IP Routing Enabled. . . . . . . . : No
> WINS Proxy Enabled. . . . . . . . : No
> DNS Suffix Search List. . . . . . : hsd1.fl.comcast.net.
>
> Ethernet adapter Local Area Connection 3:
>
> Connection-specific DNS Suffix . : hsd1.fl.comcast.net.
> Description . . . . . . . . . . . : VIA Rhine II Fast Ethernet
> Adapter
> Physical Address. . . . . . . . . : XX-XX-XX-XX-XX-XX
> Dhcp Enabled. . . . . . . . . . . : Yes
> Autoconfiguration Enabled . . . . : Yes
> IP Address. . . . . . . . . . . . : 192.168.0.10
> Subnet Mask . . . . . . . . . . . : 255.255.255.0
> Default Gateway . . . . . . . . . : 192.168.0.1
> DHCP Server . . . . . . . . . . . : 192.168.0.1
> DNS Servers . . . . . . . . . . . : 192.168.0.1
> Lease Obtained. . . . . . . . . . : Monday, October 13, 2008
> 6:39:05 AM
> Lease Expires . . . . . . . . . . : Thursday, October 16, 2008
> 6:39:05 AM
>
>
> --
> vagniphor
> ------------------------------------------------------------------------
> vagniphor's Profile: http://forums.techarena.in/members/vagniphor.htm
> View this thread: http://forums.techarena.in/server-dns/1053886.htm
>
> http://forums.techarena.in
>


Re: DNS resolve problem with ping but not nslookup
vagniphor <vagniphor.3h8vbd[ at ]DoNotSpam.com> 10/13/2008 11:38:29 PM
'Paul Bergson [MVP-DS Wrote: > ;4022904']Ping isn't going to work with many of the external host sites, > so this is
[Quoted Text]
> normal. If you can do an nslookup on a site, then dns is resolving
> correctly. It sounds more like the browsers you are attempting to use > are
> corrupted.
>
> --
> Paul Bergson
> MVP - Directory Services
> MCTS, MCT, MCSE, MCSA, Security+, BS CSci
> 2008, 2003, 2000 (Early Achiever), NT4
>
> http://www.pbbergs.com
>
> Please no e-mails, any questions should be posted in the NewsGroup
> This posting is provided "AS IS" with no warranties, and confers no > rights.
>
>

From my prior experience, even if ping does not work on some external host sites, it would show another error message. The DNS would still be resolved, but the ping would time out. So I don't think that's the case. Secondly, there are other software other than the two browsers that are unable to resolve the DNS on my PC. So I don't think anything is corrupted with the browsers. -- vagniphor ------------------------------------------------------------------------ vagniphor's Profile: http://forums.techarena.in/members/vagniphor.htm View this thread: http://forums.techarena.in/server-dns/1053886.htm http://forums.techarena.in
Re: DNS resolve problem with ping but not nslookup
welchja <welchja.3i06nb[ at ]DoNotSpam.com> 10/28/2008 5:25:00 PM
i'm haveing the somewhat the same problem. firefox and IE will not go out to web sites. email does not work either. but if i type googles ip in the address bar it will display the website. but if i type www.google.com it won't. very frustrating. i can ping intenal ips but no extenal DNS names. i can ping extenal IPs and i get resopnce back. any ideas? -- welchja ------------------------------------------------------------------------ welchja's Profile: http://forums.techarena.in/members/welchja.htm View this thread: http://forums.techarena.in/server-dns/1053886.htm http://forums.techarena.in
Re: DNS resolve problem with ping but not nslookup
tenroc2o0o <tenroc2o0o.3i7lbb[ at ]DoNotSpam.com> 11/1/2008 6:16:57 PM
I've had the exact same issue on two computers and until I read this form it didn't occur to me it might have to do with SP3. I had just deployed SP2 & SP3 via group policy to over 40 PCs at my clients location while joining all of their computers to the new active directory network.

Basically, unless I use nslookup, DNS doesn't work. This includes Firefox, Internet Explorer, as well as internal active directory lookups to authenticate usernames and passwords against the domain. Noone could log on to the computer as a domain user - had to logon as local admin to work on it.

This means I could, say, "nslookup myserver.mydomain.local", get the IP, and then manually ping the IP and get a reply.
However, if I said "ping myserver.mydomain.local" it would say "Ping request could not find host myserver.mydomain.local. Please check the name and try again."

To me, basically this means nslookup can query because it simply opens a winsock connection on the DNS port and gets a query itself, whereas ping, IE, Firefox, and Windows itself for active directory domain authentication all cannot since they use the DNS Client service.

I had this same problem on now two computers. The first one, which I worked on earlier this week, I ended up formatting the computer to fix.
I tried specifying a static IP & DNS instead of using DHCP.
I tried uninstalling/reinstalling the network adapter.
I checked the Winsock using LSPFix to make sure there weren't any files missing or malware.
I checked hijackthis log for other malware - all clean.
I tried resetting all of the registry entries for the TCP/IP stack using "netsh int ip reset c:\resetlog.txt"

Now that I realized SP3 might be involved, I checked this second computer where the problem just surfaced - and sure enough - it still has SP2 listed in under System Properties, but SP3 is in the list of Add/Remove programs. I went ahead and uninstalled SP3 (which took like 5 seconds.. kind of wierd) and it had no affect on the problem. I'm going to try to reinstall SP3 and see if it corrects the problem.

Both machines were Acer, if that makes a difference. You never know.. it might be some of the crap software they preload on it. -- tenroc2o0o ------------------------------------------------------------------------ tenroc2o0o's Profile: http://forums.techarena.in/members/tenroc2o0o.htm View this thread: http://forums.techarena.in/server-dns/1053886.htm http://forums.techarena.in
Re: DNS resolve problem with ping but not nslookup
Jonghyun 12/24/2008 4:43:00 AM
How about stopping the DNS Client Service? I had exactly same problems and
did everything I can such as removing and reinstalling winsock , TCP/IP but
failed. And the last thing I do was to stop dns client service and it now
works fine. I don't know why. Is there someone who can explain it?

Jonghyun



"tenroc2o0o" wrote:

[Quoted Text]
>
> I've had the exact same issue on two computers and until I read this
> form it didn't occur to me it might have to do with SP3. I had just
> deployed SP2 & SP3 via group policy to over 40 PCs at my clients
> location while joining all of their computers to the new active
> directory network.
>
> Basically, unless I use nslookup, DNS doesn't work. This includes
> Firefox, Internet Explorer, as well as internal active directory lookups
> to authenticate usernames and passwords against the domain. Noone could
> log on to the computer as a domain user - had to logon as local admin to
> work on it.
>
> This means I could, say, "nslookup myserver.mydomain.local", get the
> IP, and then manually ping the IP and get a reply.
> However, if I said "ping myserver.mydomain.local" it would say "Ping
> request could not find host myserver.mydomain.local. Please check the
> name and try again."
>
> To me, basically this means nslookup can query because it simply opens
> a winsock connection on the DNS port and gets a query itself, whereas
> ping, IE, Firefox, and Windows itself for active directory domain
> authentication all cannot since they use the DNS Client service.
>
> I had this same problem on now two computers. The first one, which I
> worked on earlier this week, I ended up formatting the computer to fix.
> I tried specifying a static IP & DNS instead of using DHCP.
> I tried uninstalling/reinstalling the network adapter.
> I checked the Winsock using LSPFix to make sure there weren't any files
> missing or malware.
> I checked hijackthis log for other malware - all clean.
> I tried resetting all of the registry entries for the TCP/IP stack
> using "netsh int ip reset c:\resetlog.txt"
>
> Now that I realized SP3 might be involved, I checked this second
> computer where the problem just surfaced - and sure enough - it still
> has SP2 listed in under System Properties, but SP3 is in the list of
> Add/Remove programs. I went ahead and uninstalled SP3 (which took like
> 5 seconds.. kind of wierd) and it had no affect on the problem. I'm
> going to try to reinstall SP3 and see if it corrects the problem.
>
> Both machines were Acer, if that makes a difference. You never know..
> it might be some of the crap software they preload on it.
>
>
> --
> tenroc2o0o
> ------------------------------------------------------------------------
> tenroc2o0o's Profile: http://forums.techarena.in/members/tenroc2o0o.htm
> View this thread: http://forums.techarena.in/server-dns/1053886.htm
>
> http://forums.techarena.in
>
>

Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net
Suche nach Orten, Städten, Postleitzahlen, Vorwahlen, Kfz-Kennzeichen