osx

  • I can still open the blocked sites after the /etc/hosts are set to block access.
  • I set up launchd to cp /etc/hosts_BLOCKED_sites.txt /etc/hosts
  • Stack Overflow works best with JavaScript enabled
  • sign up log in tour help
  • Launchd seems to be copying the file correctly.

EDIT:
sudo killall -HUP mDNSResponder from the command line
I also added the IPv6 format.
This did not make a difference. All the blocked sites are still accessible.

@ng_real_ninja: Why isn’t /etc/hosts blocking domains after I add blocked sites via launchd? #angularjs…

I’ve been trying to setup Launchd to block several websites on osX 10.12.2

Launchd seems to be copying the file correctly.

However, I can still open the blocked sites after the /etc/hosts are set to block access.

Any suggestions about why /etc/hosts isn’t blocking access to the sites?

EDIT: sudo killall -HUP mDNSResponder from the command line

I also added the IPv6 format.

This did not make a difference. All the blocked sites are still accessible.

Is changing the priority of a game’s process to realtime bad for the CPU?

Was there ever an official “win condition” in early D&D editions?

Is a Rubik’s cube an appropriate gift for a 15-month-old child?

Does Java have a “private protected” keyword?

How ‘heavy’ should an element be, to be a “Heavy Metal”?

What did Kerry mean with “Israel can either be Jewish or democratic – it cannot be both”?

osx

You might also like More from author

Comments are closed, but trackbacks and pingbacks are open.