- Aug 25, 2001
- 56,570
- 10,202
- 126
I found a HOSTS file in C:\WINDOWS\SYSTEM32\DRIVERS\ETC\HOSTS.
I added these entries:
127.0.0.1 b.scorecardresearch.com
127.0.0.1 pixel.quantserve.com
127.0.0.1 pagead2.googlesyndication.com
127.0.0.1 a.tribalfusion.com
127.0.0.1 tenzig.fmpub.com
127.0.0.1 tag.contextweb.com
Because my browser (Waterfox 5.0) was lagging on loading all of those "tracking URLs" on the forums here.
What I don't understand is, after changing the hosts file, and restarting my browser (is that even required), I still see the domains loading in Waterfox as an overlay at the bottom. Shouldn't those domains, resolved to localhost, basically resolve instantly, such that I wouldn't see them resolving anymore? It seems like they are still resolving out on the internet. What's going on here?
Is there a seperate 32-bit and 64-bit HOSTS file that I don't know about?
Edit: This suggests that Firefox ignores the HOSTS file? I thought that the HOSTS file was used system-wide for DNS resolution, and handled by the OS?
http://answers.microsoft.com/en-us/...-firefox/dcad50c8-4242-435b-a87b-26ecd2ff7d97
Hmm, according to this article, there is only one HOSTS file, exactly where I found it.
http://www.sepago.de/helge/2009/06/04/where-is-the-hosts-file-on-windows-x64/
ping b.scorecardresearch.com gives 127.0.0.1. nslookup returns the actual internet IP address.
Edit: This site suggests a workaround, of copying the entire contents of the HOSTS file, and copying and pasting it to another notepad instance, and saving it over the old one.
http://www.tweaksforgeeks.com/windows7/2011/02/windows-7-hosts-file-ignored
I tried opening an Administrative command-prompt window, and typing IPCONFIG /flushdns , and then another nslookup, but it won't return 127.0.0.1
I just tried that, opened two Administrator Notepad windows, opened hosts in one, copied and pasted to the other instance, closed the first one, opened an Administrator Explorer.exe, deleted HOSTS, then saved the new copy correctly. Still doesn't work.
I added these entries:
127.0.0.1 b.scorecardresearch.com
127.0.0.1 pixel.quantserve.com
127.0.0.1 pagead2.googlesyndication.com
127.0.0.1 a.tribalfusion.com
127.0.0.1 tenzig.fmpub.com
127.0.0.1 tag.contextweb.com
Because my browser (Waterfox 5.0) was lagging on loading all of those "tracking URLs" on the forums here.
What I don't understand is, after changing the hosts file, and restarting my browser (is that even required), I still see the domains loading in Waterfox as an overlay at the bottom. Shouldn't those domains, resolved to localhost, basically resolve instantly, such that I wouldn't see them resolving anymore? It seems like they are still resolving out on the internet. What's going on here?
Is there a seperate 32-bit and 64-bit HOSTS file that I don't know about?
Edit: This suggests that Firefox ignores the HOSTS file? I thought that the HOSTS file was used system-wide for DNS resolution, and handled by the OS?
http://answers.microsoft.com/en-us/...-firefox/dcad50c8-4242-435b-a87b-26ecd2ff7d97
Hmm, according to this article, there is only one HOSTS file, exactly where I found it.
http://www.sepago.de/helge/2009/06/04/where-is-the-hosts-file-on-windows-x64/
ping b.scorecardresearch.com gives 127.0.0.1. nslookup returns the actual internet IP address.
Edit: This site suggests a workaround, of copying the entire contents of the HOSTS file, and copying and pasting it to another notepad instance, and saving it over the old one.
http://www.tweaksforgeeks.com/windows7/2011/02/windows-7-hosts-file-ignored
I tried opening an Administrative command-prompt window, and typing IPCONFIG /flushdns , and then another nslookup, but it won't return 127.0.0.1
I just tried that, opened two Administrator Notepad windows, opened hosts in one, copied and pasted to the other instance, closed the first one, opened an Administrator Explorer.exe, deleted HOSTS, then saved the new copy correctly. Still doesn't work.
Last edited: