4 ms·
The simplest approach is to use a hosts file: https://someonewhocares.org/hosts/ https://someonewhocares.org/hosts/
by andreasvc 8y ago
The simplest approach is to use a hosts file: https://someonewhocares.org/hosts/ https://someonewhocares.org/hosts/
- briffle 8y agoThat 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)
- andreasvc 8y agoYup, that's a downside. The advantage is that it's much simpler and will also work when you're not on your home network.
- FroshKiller 8y agoWell, I'm connected to my home network via VPN when I'm not on my home network, so....
- daxorid 8y agoYou can also run pi-hole on a tiny VPS and set your DNS statically on all devices.
- badbug 8y agoHow do I edit the hosts file on my iPhone?
- mirceal 8y agoYou fire up vi and load /etc/hosts /s
- qpalz 8y agoJailbreak it, install openssh, ssh in and edit /etc/hosts. There's also packages in Cydia that add adblock lists to your hosts for you.
- 8_hours_ago 8y agoI use AdBlock https://www.adblockios.com 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 https://github.com/StevenBlack/hosts, but it does work well for smaller lists.
- pdimitar 8y agoProbably 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.
- SamuelAdams 8y agoThere's also Steven Black's host file: https://github.com/StevenBlack/hosts https://github.com/StevenBlack/hosts
- unethical_ban 8y agoThe issue with that is DNS resolution. I noticed that when I disconnect/reconnect my interface, it took >30 seconds for DNS resolution to properly resolve. Why? Because I was using a 65,000 entry host file on my modern Windows 10 machine. It seems to only impact during NIC changes, but I VPN and was moving my computer enough that it was causing me issue. I'd rather have a separate service to run it.
- baud147258 8y agoI also had a performance problem with DNS resolution with a big host file, but disbling the DNS client service helped.