Post

PiHole on Docker and Kubernetes (I almost gave up)

We know you’ve heard of Pihole and we know you are probably aware of how to install it but… have you tried running it on Docker and Kubernetes using Rancher? Have you configured it for pfSense? Don’t worry, I figured out all the hard stuff for you.So let’s consolidate some hardware and services.

📺 Watch Video

Ubuntu Fix

1
sudo apt-get update
1
sudo apt-get install resolvconf
1
sudo nano /etc/resolvconf/resolv.conf.d/head

enabled & start service

1
sudo systemctl enable resolvconf.service
1
sudo systemctl start resolvconf.service

add your upstream DNS (I use Quad9)

1
nameserver 9.9.9.9

update resolv.conf after adding nameserver

1
sudo resolvconf -u

Set pi-hole password

1
sudo pihole -a -p

⚙️ See all the hardware I recommend at https://l.technotim.live/gear

🚀 Don’t forget to check out the 🚀Launchpad repo with all of the quick start source files

This post is licensed under CC BY 4.0 by the author.