Incorrect IP for URL on my PC only
I have one internal web site that pings to the incorrect IP address only on my PC. The site is a SharePoint site and on my PC it resolves to a different SharePoint Site. I have set up a second domain name on the same IP address (in DNS and SharePoint)
and can access the site using that url. So I have a work around in place and don't have to use terminal server to access the site anymore however, I'm the company SharePoint and Web Administrator so I'd like to know why I'm having the problem.
This has been going on for weeks. I have flushed my DNS cache many times and cleared browsing history many times as well. I have searched for hosts files on my PC and the only thing any of the several hosts files on my PC is the default
127 IP. When I start an NSLookup session it goes to the expected DNS server and the IP that resolves for the site in the NSLookup Session is correct. But when I ping it on my PC it is incorrect. Where can it be getting this incorrect IP address?
I'm running Windows 7 Pro 32 bit on a laptop. It makes no difference if I'm on a wireless or wired connection. (Typically in the office, I'm wired and wireless is disabled). Also, it makes no difference if I'm remote and connecting
through VPN.
Nancy Forbes
February 2nd, 2011 12:01pm
Take a look and see if its in your DNS cache.... IPCONFIG /flushdns. Are you fully qualifying the hostname? ex.
sharepointServer.domain.ext, rather than just using the NetBIOS name? Feel free to post the results of your IPCONFIG /ALL.Visit: anITKB.com, an IT Knowledge Base.
Free Windows Admin Tool Kit Click here and download it now
February 2nd, 2011 2:02pm
I've done the IPCONFIG /flushDNS many times. Yes, I am fully qualifying the hostname. Here's the IPCONFIG /All. The Node Type is interesting to me. Other Windows 7 computers I've seen on our network have "HYBRID".
Windows IP Configuration
Host Name . . . . . . . . . . . . : G25CMK1-W7
Primary Dns Suffix . . . . . . . : chiefind.net
Node Type . . . . . . . . . . . . : Peer-Peer
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : chiefind.net
chiefind.com
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Realtek PCIe GBE Family Controller
Physical Address. . . . . . . . . : 00-24-E8-D9-1A-44
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
IPv4 Address. . . . . . . . . . . : 172.22.49.29(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.0.0
Default Gateway . . . . . . . . . : 172.22.201.254
DNS Servers . . . . . . . . . . . : 172.22.100.150
172.22.100.151
NetBIOS over Tcpip. . . . . . . . : Enabled
Wireless LAN adapter Wireless Network Connection:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Intel(R) WiFi Link 5300 AGN
Physical Address. . . . . . . . . : 00-21-6A-5F-F4-3E
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter isatap.{78221BF6-4AE8-49E8-8BD5-C5BE5D429544}:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft ISATAP Adapter
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter isatap.{87FAB540-57E8-43CD-8261-03AC5C1D2CB7}:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft ISATAP Adapter #3
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter Reusable Microsoft 6To4 Adapter:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft 6to4 Adapter #2
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : YesNancy Forbes
February 3rd, 2011 10:17am
Hybrid is the most common node type. It does not appear that you have the WINS client configured so this setting is puzzling since P-Node will use a WINS server for broadcasts. However, you do not have your WINS client configured to communicate
with a WINS server, therefore does it mean that this client is unable to resolve netbios names? hmmm....
Nothing else in your IPCONFIG appears to be of concern. Since you have this computer set up with a dNS suffix search list, you need to make sure that the hostname is in at least one of those zones, if not both.
Visit: anITKB.com, an IT Knowledge Base.
Free Windows Admin Tool Kit Click here and download it now
February 4th, 2011 2:52pm
It was a hosts file gone amuck. It is interesting to me that when I search for "hosts", that none of the returned results was actually the hosts file in the windows\system32\drivers\etc\ folder. I had to actually traverse to this folder.
What is even more interesting is that I could not edit the file. (Don't have permission to save in this location even though I am in the administrators group on my computer) It let me rename it though so that is what I did
to get rid of the problem.
The only entries in the file were for SharePoint sites so I'm guessing that one of the Migration utilities I tried edited the file (somehow). Where it got the IP for the site I don't know though as that site has never been located at the IP it had.
Nancy Forbes
February 15th, 2011 2:17pm
If you want to edit the Hosts file you need to take
Ownershhip and grant permissions to your user Id. I suspect Windows 7 blocks access to the hosts files as anti-malware protection.
Free Windows Admin Tool Kit Click here and download it now
February 15th, 2011 4:35pm
All you had to do was run notepad using Admin credentials. I suspect that UAC was allowing you to open the HOSTS file as a regular user which did not allow you to save the file.
As a workaround, you could also have saved the edited version of the HOSTS file on your desktop, then copied it back to the correct location.Visit: anITKB.com, an IT Knowledge Base.
February 15th, 2011 8:01pm
I tried both taking ownership and opening notepad up in Admin mode and then opening the HOST file in notepad and the latter worked, taking Ownership did not work. It still doesn't let you save it. (Renaming it also solved my problem as I didn't
need a HOSTS file.)
What was the most frustrating to me was not that I couldn't edit it - I knew I could get around that somehow - but that it did not show up when I searched for it - twice. My initial reaction to my incorrect IP was that I had a bad entry in my hosts
file, so I searched for it rather than traversing to Windows/System32/Drivers/etc directly. Since it did not list in the search results, I didn't think I had a hosts file so I started searching elsewhere for the source of my problem and wasted a lot
of time - not just my own.
BTW - it shows up now when I search.Nancy Forbes
Free Windows Admin Tool Kit Click here and download it now
February 16th, 2011 9:44am