An Exercise Program for the Fat Web

Came here to complain about disabling the DHCP, which is slightly sketchy.

Unfortunately DNS doesn’t work well as primary with secondary on fallback. I really need to figure out a decent HA setup for home.

I’m not using a Pi- I run it as a Docker container on a more reliable machine. My Pis are pretty much for OctoPrint only :slight_smile:

The Pi B+ doesn’t actually have Gigabit ethernet, it has the same old 100 Mbps RJ45 ethernet port all the Pi’s have, it supports “up to” gigabit ethernet if you use a gigabit USB to ethernet adapter (for example Linksys), however most people cap out at around 200 Mbps even with the best adapters because you’re still using USB 2.0 which doesn’t have the gigabit providing capacity of USB 3+…

You’ve also now got another adapter in the chain adding latency etc, which for DNS resolution and DHCP stuff matters.

I don’t think that’s the case; these real world benchmarks show the 3B+ has a fair bit more networking ability using the onboard LAN ports, at least compared to the 3B, 2B, and B+.

1 Like

Thanks for sharing your exploration.

I really dig your Pi + Case + Display + Stand setup pictured in the post. Would you be willing to share links to where you sourced all of the components?

Probably US-specific. Never thought that router, even ISP-issued, could lack this function. TIL something new!

Would be nice to see endurance benchmarks too but my guess is it’s out of reach for enthusiasts.

There are specifically marketed “endurance” SD cards out there, but they’re for a slightly different use case, constant writing and over-writing of the entire card like from a security camera or dash camera.

The Samsung PRO Endurance fits an ever-growing segment of the market geared around video recording and surveillance. These systems are setup to record constantly and over-write old data once full, which is different than how a standard memory card would be used (light usage). From a performance standpoint the Endurance is rated for 100MB/s read and 30MB/s write, which isn’t record smashing, but also plenty fast for the use cases it is designed around.

Most reviews tend to recommend Samsung (Pro or Evo) and Sandisk Extreme/Ultra, and I’d concur.
This user poll data is from 2016 but looks encouraging!

It’s shamelessly cribbed from reddit! Info is here:

Pimoroni Pibow Coupe case, a Pimoroni HyperPixel display, and a cheapo Lamicall cell phone stand. It’s displaying the recently released chronometer2 v1.3 dashboard

I would seriously resist the siren call of adding a display to your pi-hole… I mean I understand the appeal but I think the goal is for this device to blend into the background :wink:

Just wanted to say great write-up, and thanks very much for the support…

To see articles about it from people like yourself makes me proud of what we’ve achieved with what, in my mind at least, is still a fun little side project!


1 Like

If I might point out a few minor factual issues here, being the original developer of Adblock Plus…

Eye/o GmbH owns AdBlock and uBlock

First of all, it’s called eyeo (lower-case and no slash). More importantly, AdBlock and Adblock Plus are different extensions and eyeo owns the latter. Not sure about uBlock, I think they were bought by Betafish who owns AdBlock. Yes, this is complicated…

in 2016 they had 50 million euros in revenue, of which about 50% was profit

That’s news to me, where do you have this number from? I searched a bit but couldn’t find it.

Adblock Plus-Mutter eyeo macht 17,1 Millionen Gewinn - (German) is quite current and seems to be based of eyeo’s official reporting. This one mentions 36 million in revenue, and indeed roughly half of it as profit. Mind you, I’m not saying that this number is correct - I don’t know the actual number, and this site doesn’t name the source.

Google’s paid “Acceptable Ads” program

It’s not Google’s program, it’s eyeo’s. Google is merely one of many partners, and the article doesn’t say how much of eyeo’s revenue comes from Google. The rules for what ads get allowed are determined by the independent Acceptable Ads Committee.

While I understand the desire to block all ads, particularly given the stated performance issues, there are unfortunately currently no alternatives when it comes to keeping the web sustainable. Acceptable Ads program is a compromise. Without it, ad blockers will make many websites unprofitable, starting with those with a technical audience.


I have a complete Ubiquiti setup as well and only using 1 Rasberry Pi for Pi hole. Why do you need two? For failover?

Regarding sites serving ads from their own domains, YouTube and Twitch are the biggest offenders. Pihole won’t block their ads at all.

Problem with Raspberry Pi reliability is the storage. SDcards aren’t meant for continuous use, and they fail with depressing regularity. You can avoid that by using an external USB SSD, but the USB ports are only USB2 so that isn’t a fantastic solution either.

I run pihole in a linux container myself, works great. They have docker containers also.

I used to be able to only have one DNS in the Network Settings but now it is requiring at least 2 and up to 4. Not sure when that changed. The secondary server is not used for much, but when I had as the secondary I would see ads from time to time.

It is best for Pihole and other system and program logs to be saved somewhere other than the sd card, might be best to overview and examine all pihole configurable features, by default DNS is not cached more that 2 seconds.

Personally the real advantage to me for an adblocker like ublock origin is blocking avatars and/or GIFs.

Pi-hole is freaking awesome. Mine is running locally inside a Docker container.


Sorry to disappont you, but PiHole is not an answer for Ad Browser.

I am sounding a bit paranoid, but Chrome is one flag flip away from always using Google DNS servers in uninterruptible fashion, and giving a user secure supply of automated advertising.

That’s strange. I have 4 DNS server fields as well but only one filled in pointing to my PiHole server. My USG is doing DHCP and just has the one DHCP Name Server set. I guess since you already have it setup the benefit is that if one of the Pi’s fail you will have a backup

Where did you get the information about DNS only being cached for 2 seconds. I don’t see that on the PiHole documentation page and no settings on changing it.

Definitely possible. If adblocking via DNS becomes super common, perhaps this will happen. I think more sites will serve up ads from their own domain, personally.

Also in case you’re curious about power consumption of the 3b+ versus older Pis:

I’d expect a pi-hole device to be “near idling” most of the time, so 230mA is the realistic floor for recent Pi models that have ethernet.

Here we see 350mA idle, which is ~2w. Maximum realistic is just over 5w at full synthetic CPU load.

Do give a try to on your Raspberry Pi which can block Ads based on block lists and has some advance features like built-in DNS-over-HTTPS, DNS-over-TLS and ability to use SOCKS5 proxy + Tor network to allow using Cloudflare hidden DNS resolver.

1 Like

I hate what’s happened to the web. Many articles are now unreadable and ironically try every trick in the book to distract you from the content you came to read.

But, if you’re going to use an ad blocker then you really need to meet them halfway and address the root cause - you need to pay for the content that you value the most. The reason this has gone so over the top is that so many outlets are struggling to survive.

Apple News+ is an interesting approach to this problem and to me it’s quite refreshing to be able to just read content from a diverse set of sources without having to weed through the distractions.