Steven W Posted February 16, 2010 Posted February 16, 2010 Has the Hosts file changed in 7? I noticed this which is different from every other version of Windows I've seen:# localhost name resolution is handled within DNS itself.# 127.0.0.1 localhost# ::1 localhostIs there different actions required in 7 to block sites? I'm not just looking to block in one app, but universally.
MrJinje Posted February 16, 2010 Posted February 16, 2010 Works exactly the same on my machine. 127.0.0.1 getting.redirected.com
fizban2 Posted February 16, 2010 Posted February 16, 2010 the ::1 specifies localHost from a IPV6 adressing point, the local host file handles IPv4 and 6
Steven W Posted February 16, 2010 Author Posted February 16, 2010 Hmmm, I've tried entering the line:127.0.0.1 google.comdoesn't seem to work, I've even tried adding:127.0.0.1 localhost::1 localhostWithout the # seen above, just doesn't seem to work.
Steven W Posted February 16, 2010 Author Posted February 16, 2010 (edited) This just got a little more odd...Firefox will not open Google.com, But IE will and I can also ping it.Editing, check this, pinging:127.0.0.1? Should the ping be sucessful? Edited February 16, 2010 by Steven W
Steven W Posted February 16, 2010 Author Posted February 16, 2010 Okay, duh, yeah that should work. I finally put the 127.0.0.1 localhost line back in (without #) and although it worked once or twice in IE it finally stopped. Odd world!
DigeratiPrime Posted February 16, 2010 Posted February 16, 2010 Okay, duh, yeah that should work. I finally put the 127.0.0.1 localhost line back in (without #) and although it worked once or twice in IE it finally stopped. Odd world!When you put the domain name in the host file you are basically blocking the dns lookup. It probably worked for a while because you had resolved a google ip before and it was still in the dns cache.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now