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

That doesn't work the same as pihole. PiHole blocks ads on ALL devices on your network. Your computer, your laptop, your phone, your kids kindle, etc. As long as they are on your network, they are protected (and browsing web pages on an older phone, things are much faster)


Yup, that's a downside. The advantage is that it's much simpler and will also work when you're not on your home network.


You can also run pi-hole on a tiny VPS and set your DNS statically on all devices.


do you have any links for doing this?


Yeah this is something I've been thinking about lately as well. Pi-Hole seems cool but what about most of the time when I'm somewhere else than my local network?


How do I edit the hosts file on my iPhone?


I use AdBlock https://www.adblockios.com on iOS which runs a local DNS server that can blackhole domains. It doesn't work well on very large host files so I gave up trying to import https://github.com/StevenBlack/hosts, but it does work well for smaller lists.


Probably not the answer you are looking for but:

(1) Install "1Blocker X" -- not free but it's cheap. (2) It has a huge number of rules and protects your Safari pretty damn good. (3) You can disable the existing rules if you so choose. (4) You can add new ones based on URL regexes or CSS rules.

I am still using it actively both on my iPhone and iPad, one of the best investment in apps I ever did.


Jailbreak it, install openssh, ssh in and edit /etc/hosts. There's also packages in Cydia that add adblock lists to your hosts for you.


You fire up vi and load /etc/hosts /s


Well, I'm connected to my home network via VPN when I'm not on my home network, so....




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

Search: