Thursday, 9 April 2020

[UPDATED] Removing the advertisements with Pi hole

Found the first functional use of my good old Raspberry Pi based on this video:

https://youtu.be/UE2sO8d3sx8

using this script to provide DNS service that removes advertisements:

curl -sSL https://install.pi-hole.net | bash

And it has a beautiful user interface too!


I liked removing advertisements so much that I have become a patron with $1 / month. I also made it available via mobile data with the help of Open VPN on my good old Synology.

Due to some encouragement as a reply to my facebook post from an old acquaintance I also moved over to cloudfare for upstream DNS using DNS over HTTPS:

https://docs.pi-hole.net/guides/dns-over-https/

To make cloudfare work on my good old Raspberry Pi I had to use this binary:

https://hobin.ca/cloudflared/releases/2019.8.1/cloudflared_2019.8.1_arm.tar.gz

[UPDATE]

In order to reinstall Raspberry Pi OS Bullseye I have setup pi0w as a secondary Pi hole by adding this config file:
sudo nano /etc/dnsmasq.d/05-pihole-failover.conf
dhcp-option=6,192.168.0.2,192.168.0.10

No comments:

Post a Comment