Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Does anyone know how I can block a website like Facebook on a Mac with whatever new tech they've rolled out?

whois to find all their IPs range and block all these? They change once in a while but not every day.

See here for the whois command:

https://stackoverflow.com/questions/11164672/list-of-ip-spac...

FWIW I just reject any outgoing attempt to these range from my firewall using a file I version and update once in a while.

EDIT: I've also got a PiHole running and I'm pretty sure it's also blocking a huge lot of FB related ad domains. I could automate the whois query and check if it's different from the current list I'm using but I don't bother (so far).




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: