-1

I'm trying to block domains in the hosts file, but Chrome is able to load the pages anyways. How is this possible? The blocks have been in place for weeks. I have the option 'Use a web service to help resolve navigation errors' disabled.

C:\Windows\System32\drivers\etc\hosts
127.0.0.1 reddit.com
127.0.0.1 www.reddit.com

Somehow I'm also able to ping the domains.

$ ping reddit.com

Pinging reddit.com [198.41.208.140] with 32 bytes of data:
Reply from 198.41.208.140: bytes=32 time=21ms TTL=53
2
  • Stop DNS client service and disable it
    – SeanClt
    Commented May 24, 2016 at 20:48
  • Did you restart your computer?
    – Sun
    Commented May 24, 2016 at 21:26

1 Answer 1

0

Did you flush your DNS cache? You can do this with the ipconfig /flushdns command. If the name is still cached, the system will not try to resolve it, and will never see your entry.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .