Pi-hole has been excellent. I was able to discover that my Samsung TV was reporting minute by minute updates on what I was watching to a local Australian company. Unplugged it faster than I could swear.
How does the Pi-hole achieve this? Does it have a blacklist (I assume) or can it use a whitelist? The services my TV needs to reach are easily enumerable, I pay all of them subscriptions. There is no other valid connection for it to make. Maybe firmware/app updates but I'd kinda prefer to do that myself at this point.
Ad blocking with Raspberry Pi and Pi-hole
81–90 of 163 posts
Re: Ad blocking with Raspberry Pi and Pi-hole
#82I actually have been doing some work with MaraDNS to have the ability to have a pi-hole sized blacklist. The main source of pi-hole’s blacklist is this Git repo: https://github.com/StevenBlack/hosts That is about 60,000 hosts, so I added MaraDNS support to have up to 500,000 blacklisted names. Since it’s a speed-optimized (not size-optimized) cache, each element takes about a kilobyte of memory, so a blacklist this s…
For example, given a block list of 60,000 how many hosts on the list did your computer actually try to access. Have you ever read through one of those massive blocklists.
I use a whitelist rather than a blocklist. Similar to a firewall, I block everything by default. Then carefully choose what I allow.
This way I can see exactly what hosts I actually need to access. Makes it easy to see attempts to access ad servers, trackers, phone home, etc.
Re: Ad blocking with Raspberry Pi and Pi-hole
#83Pi-hole has been excellent. I was able to discover that my Samsung TV was reporting minute by minute updates on what I was watching to a local Australian company. Unplugged it faster than I could swear.
Reading these kind of anecdotes makes me wonder why is this legal or at least opt-in.
Re: Ad blocking with Raspberry Pi and Pi-hole
#84Please do note that Android appears to be quite weird in regards to accepting network set DNS. My observations so far have been that Android tends to ignore any DNS set by either the network via DHCP or statically set. Android instead probes the gateway for 8.8.8.8, and happily uses that instead. The only way I have been able to solve this has been to setup a VPN (I prefer wireguard) on the pihole. Android seems to a…
If you have a decent router, then you can just forcibly redirect any DNS requests from 8.8.8.8 to your PiHole.
Although with DoH these days, I'm not confident my firewall rule is still doing a good job :(
Re: Ad blocking with Raspberry Pi and Pi-hole
#85> Use it for ad-blocking in your home network and to finally browse the web, watch videos etc. without annoying ads. It doesn't really do this as well as a browser adblocker, YouTube ads for example can't effectively be blocked with pihole
Google tries to force users to turn on JavaScript by needlessly making the YouTube website "require" JS to be turned on to play videos.
However it is easy to play the videos without using JavaScript using just basic HTML.
Example
Re: Ad blocking with Raspberry Pi and Pi-hole
#86Firefox can have this feature disabled, but more malicious applications will simply not give you the choice.
Re: Ad blocking with Raspberry Pi and Pi-hole
#87Re: Ad blocking with Raspberry Pi and Pi-hole
#88Is anyone successfully using PiHole with non-technical users? My main concern with putting PiHole on my home network is that for example my mother in law might not understand that she can't get to some web page because it's being ad-blocked, nor would she be able to go to the web admin page and temporarily unblock it. Even as a technical person sometimes it takes a while to figure out that a page isn't working becaus…
I have an iOS shortcut that hits the disable endpoint, so they have a button on their phone they tap that will disable it for 30 minutes at a time.
Works great, even if I dont invoke Siri to trigger it.
Re: Ad blocking with Raspberry Pi and Pi-hole
#89The move of applications such as Firefox to start using DNS-over-https to hardcoded DNS servers will render such user-modified DNS services useless. Firefox can have this feature disabled, but more malicious applications will simply not give you the choice.
Re: Ad blocking with Raspberry Pi and Pi-hole
#90Earlier quoted context omitted.
If you have a decent router, then you can just forcibly redirect any DNS requests from 8.8.8.8 to your PiHole.
I have had good luck simply blocking any outbound port 53 traffic that doesn't come from pihole. Although with DoH these days, I'm not confident my firewall rule is still doing a good job :(
At this point every device on my network is hostile, default deny outbound is starting to feel like the reasonable starting point.