Shut that pi-hole, dude

It took a while, but after having lost my previous Raspberry Pi to the Gods Of SD Card Failures, I finally got around to setting pi-hole up again on the new one (backups, dude, backups! Yes, I hear ya...)

First things first: what's a Pie Hole? It's a bit of software actually called pi-hole meant to keep network clients (and users, family members, pets, stray aliens, etc) from getting overwhelmed with the ads and trackers the Daemons of Internet try to bestow upon us on a continuous basis.

To do so it acts as DNS server in your network and compares each DNS-request to a list of known ad/spam/malicious sites. If the DNS address requested is on there it disappears into pi-hole's Black Hole of Doom. Furthermore, it includes a DHCP, so you can use pi-hole as your one-stop shop for your basic networking needs. 

It's easy to install. The project's home is at and their GitHub at tells you how to proceed. 

Then why, dear writer, are you writing this blog post? Glad you asked, esteemed reader...  Pi-Hole sets up its own webserver. Just like most other projects which sport a webinterface for easy administration. That's great - but it's yet another service running on my pi. I'd rather re-use what I have. Since my energy-use tracking system (DSMR, blog post to come!) uses Nginx that's what I want pi-hole to use, too. And it does - now.

Interested in getting Pi-Hole running with Nginx ? Read on.

Read more: Shut that pi-hole, dude

Update Unify from 5.x to 6.x

Good news - Ubiquity has released version 6 of the Unify controller software in september 2020.

If you're running Unify on a Raspberry Pi (on raspbian) then you're likely to be greeted by a message that UBNT's repository has changed when you try to run apt-get update. 

Something like:

E: Repository ' stable InRelease' changed its 'Codename' value from 'unifi-5.13' to 'unifi-6.0'
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.

So - what to do?

Simple: Run  apt-get update --allow-releaseinfo-change

Details? Read on!

Read more: Update Unify from 5.x to 6.x