jspaziano
asked on
nslookup resolves, but can't ping or connect by dns host name. Can ping and connect by ip address.
I'm troubleshooting a system where i'm having a strange issue.
i can look up host names via nslookup, however ping and other apps (web browsers, command line FTP, etc.) say they cannot resolve the host name.
If i ping or connect by IP address, it works.
I have tried netsh winsock reset and netsh int ip reset, neither resolved the problem.
I have also tried ipconfig /flushdns as well as repairing the connection through the gui.
i can look up host names via nslookup, however ping and other apps (web browsers, command line FTP, etc.) say they cannot resolve the host name.
If i ping or connect by IP address, it works.
I have tried netsh winsock reset and netsh int ip reset, neither resolved the problem.
I have also tried ipconfig /flushdns as well as repairing the connection through the gui.
ASKER
Hosts is the default .. jusit 127.0.0.1 resolving to localhost
no proxy server.
this isn't a member of a domain (it's running media center edition and was used in a home).
internet works fine for another pc connected to the network.
thanks.
no proxy server.
this isn't a member of a domain (it's running media center edition and was used in a home).
internet works fine for another pc connected to the network.
thanks.
Which web browser do you use?
ASKER
basically to me it seems that something's going around that's breaking tcp connectivity in windows xp.
i actually have 3 systems i've been asked to look at that all have ths same issue.
i actually have 3 systems i've been asked to look at that all have ths same issue.
ASKER
internet explorer 7 for the web browser.
i'm trying firefox now.
also my last commend on tcp connectivity doesn't make sense since connecting by ip address works. something's not right in dns resolution so it seems.
i'm trying firefox now.
also my last commend on tcp connectivity doesn't make sense since connecting by ip address works. something's not right in dns resolution so it seems.
ASKER
no luck on firefox either. I can connect to sites by ip address but not the dns hostname.
In IE7 go to Tools, Internet Options, Advanced tab and click Reset... this should fix IE7. Did you scan computer with antispyware and antivirus software?
ASKER
I did scan with the AVG rescue cd, it did find and remove a few viruses.
I have tried resetting ie to the default settings, that doesn't work either.
basically it seems that no applications (ping, web browsers, ftp clients, etc.) can resolve DNS names, but nslookup can:
C:\Documents and Settings\Administrator>nsl ookup google.com
Server: DD-WRT
Address: 192.168.123.254
Non-authoritative answer:
Name: google.com
Addresses: 209.85.171.99, 64.233.187.99, 72.14.207.99
C:\Documents and Settings\Administrator>pin g google.com
Ping request could not find host google.com. Please check the name and try again.
I have tried resetting ie to the default settings, that doesn't work either.
basically it seems that no applications (ping, web browsers, ftp clients, etc.) can resolve DNS names, but nslookup can:
C:\Documents and Settings\Administrator>nsl
Server: DD-WRT
Address: 192.168.123.254
Non-authoritative answer:
Name: google.com
Addresses: 209.85.171.99, 64.233.187.99, 72.14.207.99
C:\Documents and Settings\Administrator>pin
Ping request could not find host google.com. Please check the name and try again.
Can you paste output of the follwing command: ipconfig /displaydns
ASKER
:\Documents and Settings\Administrator>ipc onfig /displaydns
indows IP Configuration
1.0.0.127.in-addr.arpa
-------------------------- ---------- ----
Record Name . . . . . : 1.0.0.127.in-addr.arpa.
Record Type . . . . . : 12
Time To Live . . . . : 604050
Data Length . . . . . : 4
Section . . . . . . . : Answer
PTR Record . . . . . : localhost
localhost
-------------------------- ---------- ----
Record Name . . . . . : localhost
Record Type . . . . . : 1
Time To Live . . . . : 604050
Data Length . . . . . : 4
Section . . . . . . . : Answer
A (Host) Record . . . : 127.0.0.1
indows IP Configuration
1.0.0.127.in-addr.arpa
--------------------------
Record Name . . . . . : 1.0.0.127.in-addr.arpa.
Record Type . . . . . : 12
Time To Live . . . . : 604050
Data Length . . . . . : 4
Section . . . . . . . : Answer
PTR Record . . . . . : localhost
localhost
--------------------------
Record Name . . . . . : localhost
Record Type . . . . . : 1
Time To Live . . . . : 604050
Data Length . . . . . : 4
Section . . . . . . . : Answer
A (Host) Record . . . : 127.0.0.1
Run "net stop dnscache" and try to ping again. After each step don't forget to run "ipconfig /flushdns".
ASKER
Thanks.
that didn't help either. after stopping the dns client service i can resolve via nslookup but ping can't find the host name. i can ping the ip though.
that didn't help either. after stopping the dns client service i can resolve via nslookup but ping can't find the host name. i can ping the ip though.
Does it work if you ping with switch -4?
Is computer fully updated?
Did you try to reinstall NIC drivers?
Is computer fully updated?
Did you try to reinstall NIC drivers?
PING -4 www.google.com
Clarification, please:
Are you trying to ping/browse/etc by name TO the mediacenter pc (mc-pc) and it fails?
Running nslookup from the non-mc-pc returns the correct ip?
Ping TO the mc-pc via ip address works?
Can you surf FROM the mc-pc?
Are there any firewall settings running on the mc-pc?
Are your other pc's using WINS, and have you checked the WINS db for the mc-pc's entry?
Are you trying to ping/browse/etc by name TO the mediacenter pc (mc-pc) and it fails?
Running nslookup from the non-mc-pc returns the correct ip?
Ping TO the mc-pc via ip address works?
Can you surf FROM the mc-pc?
Are there any firewall settings running on the mc-pc?
Are your other pc's using WINS, and have you checked the WINS db for the mc-pc's entry?
ASKER
ping -4 doesn't work.
strangely i can't uninstall the NIC.
when i try to uninstall the nic i get an error:
failed to uninstall the device, the device might be required to boot up the computer
strangely i can't uninstall the NIC.
when i try to uninstall the nic i get an error:
failed to uninstall the device, the device might be required to boot up the computer
ASKER
I am trying to ping/browse/etc FROM the mc-pc.
I have disabled the windows firewall (no other firewall is installed)
I have another pc on the network that's running wins over tcp/ip
I can ping the host name of the mc-pc.
I have disabled the windows firewall (no other firewall is installed)
I have another pc on the network that's running wins over tcp/ip
I can ping the host name of the mc-pc.
ASKER
Still can't resolve with ping -6 either.
thanks for all your help with this.
i'm trying to figure out how to fix it rather than having to do a repair install since this particular OEM doesn't give you media that lets you do a repair install, you can only reformat/clean install to get it to factory condition.
thanks for all your help with this.
i'm trying to figure out how to fix it rather than having to do a repair install since this particular OEM doesn't give you media that lets you do a repair install, you can only reformat/clean install to get it to factory condition.
I would suggest that you update NIC driver first, because if you are not infected, this is very strange behaviour.
ASKER
I have updated the nic.
strangely the NIC works fine.
i've been remote desktoped in to the system while performing all these steps.
it strictly seems to be related to DNS resolution for applications.
It's got to be some kind of an infection that causes this.
I have 3 systems brought to me all with the same issue.
they can ping ips but can't resolve host names.
strangely the NIC works fine.
i've been remote desktoped in to the system while performing all these steps.
it strictly seems to be related to DNS resolution for applications.
It's got to be some kind of an infection that causes this.
I have 3 systems brought to me all with the same issue.
they can ping ips but can't resolve host names.
what is the list of domains in the dns suffix list? This can be viewed in the TCP/IP settings, or via ipconfig /all from a cmd prompt.
Maybe paste the results of ipconfig /all
Maybe paste the results of ipconfig /all
ASKER
Also one of my coworkers had already tried a repair install of the OS (xp pro w/ SP3) on one of the other systems before it got brought to me to look at it. A repair install didn't fix it either.
Whatever causes this sure is nasty. It's getting to the point where it seems the only option is a reformat/reinstall.
Whatever causes this sure is nasty. It's getting to the point where it seems the only option is a reformat/reinstall.
ASKER
There is no dns suffix.
C:\Documents and Settings\Administrator>ipc onfig /all
Windows IP Configuration
Host Name . . . . . . . . . . . . : YOUR-780C524461
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Unknown
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Realtek RTL8139/810x Family Fast Eth
ernet NIC
Physical Address. . . . . . . . . : 00-16-17-5E-26-DF
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 192.168.123.100
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.123.254
DHCP Server . . . . . . . . . . . : 192.168.123.254
DNS Servers . . . . . . . . . . . : 192.168.123.254
Lease Obtained. . . . . . . . . . : Wednesday, November 19, 2008 12:26:2
0 PM
Lease Expires . . . . . . . . . . : Thursday, November 20, 2008 12:26:20
PM
C:\Documents and Settings\Administrator>ipc
Windows IP Configuration
Host Name . . . . . . . . . . . . : YOUR-780C524461
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Unknown
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Realtek RTL8139/810x Family Fast Eth
ernet NIC
Physical Address. . . . . . . . . : 00-16-17-5E-26-DF
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 192.168.123.100
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.123.254
DHCP Server . . . . . . . . . . . : 192.168.123.254
DNS Servers . . . . . . . . . . . : 192.168.123.254
Lease Obtained. . . . . . . . . . : Wednesday, November 19, 2008 12:26:2
0 PM
Lease Expires . . . . . . . . . . : Thursday, November 20, 2008 12:26:20
PM
ASKER
It seems that this may have been caused by a botched install of SP3.
I saw in the add/remove programs list that SP3 is listed as being installed, but when you go in to system info it's only listed as running SP2.
when logged in as administrator and installing SP3, i get an error that access is denied then a msg that windows xp has been partially updated and may not work properly.
trying to reset the file and registry default security settings, access is still denied.
perhaps this system had a malware problem in the past which screwed up security, now it's stuck in a half-updated state with sp3.
I saw in the add/remove programs list that SP3 is listed as being installed, but when you go in to system info it's only listed as running SP2.
when logged in as administrator and installing SP3, i get an error that access is denied then a msg that windows xp has been partially updated and may not work properly.
trying to reset the file and registry default security settings, access is still denied.
perhaps this system had a malware problem in the past which screwed up security, now it's stuck in a half-updated state with sp3.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Change DNS record for this hostname if this machine:
1. Configured for Static IP
2. Ever Change the Static IP of machine
3. This machine use Hostname that previously used for another IP address
U need to check DNS record for this machine hostname in DNS server.. if this hostname shows different IP address then correct it and try ping again..
Thank You
1. Configured for Static IP
2. Ever Change the Static IP of machine
3. This machine use Hostname that previously used for another IP address
U need to check DNS record for this machine hostname in DNS server.. if this hostname shows different IP address then correct it and try ping again..
Thank You
Thank you jspaziano! After hours of searching, your solution worked for me too.
Check %systemroot%\system32\driv
Toni