Jump to content

Hosts File


Steven W

Recommended Posts

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 localhost

Is there different actions required in 7 to block sites? I'm not just looking to block in one app, but universally.

Link to comment
Share on other sites


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.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...