February 16, 201016 yr 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.
February 16, 201016 yr the ::1 specifies localHost from a IPV6 adressing point, the local host file handles IPv4 and 6
February 16, 201016 yr Author 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.
February 16, 201016 yr Author 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, 201016 yr by Steven W
February 16, 201016 yr Author 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!
February 16, 201016 yr 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.
Create an account or sign in to comment