pi-hole.net: DNS based ad-blocking

pi-hole.net is a fun little project. I set it up as a VM and set my DHCP server to use it as the DNS server and whammo! insta-adblocking.

GOOD:

  • Easy to install and setup. (Walk through the wizard to install, then update your DHCP server to use pi-hole as your DNS server.)
  • Fast and small. (Well, it was designed to run on a Raspberry Pi.)
  • Nice GUI and reports.
  • Effective.
  • Fun little weekend project.

BAD WISHLIST:

  • There is nothing bad, but I wish it would run under Alpine Linux. The Ubuntu server I spun up is terribly large.

RESULTS:

pi-hole.net doesn’t block everything that uBlock does, but it does catch an extra 3% more ads than without uBlock (according to the sites I visit), and it will help all the tablets and phones on your network that don’t have uBlock.

dashboard212[1]

Brave on ElementaryOS

I wanted to install Brave on a test ElementaryOS install and I’d rather use apt instead of the .deb file that’s on Brave’s main site. Brave does have a repo available but it won’t work with ElementaryOS out of the box. Here are the instructions.

The trick is here: “You will want to make sure the bottom line of /etc/apt/sources.list lists a new repository and doesn not contain the word lsb_release.”

When you run the two provided commands:

curl https://s3-us-west-2.amazonaws.com/brave-apt/keys.asc | sudo apt-key add -
echo "deb [arch=amd64] https://s3-us-west-2.amazonaws.com/brave-apt `lsb_release -sc` main" | sudo tee -a /etc/apt/sources.list

…’loki’ is inserted into the new source in /etc/apt/sources.list. Replace it with ‘xenial’.

Brave installed just fine with apt after that.