1. DIY HOME SERVER - PI-HOLE container preparation
This guide is my implementation of installing Pi-hole Network-wide Ad Blocking.
2. DIY HOME SERVER - PI-HOLE installation
Start the newly created Pi-hole container.
Select the Console.
Log in as user root with the password set during the container creation.
apt update && apt upgrade -y
apt-get install curl -y
adduser piuser
usermod -aG sudo piuser
Enter the following command :
curl -sSL https://install.pi-hole.net | bash
pihole -a -p
3. DIY HOME SERVER - PI-HOLE configuration
Then open another browser tab en go to https://firebog.net/.
Do the same with all URLs except those that have a strike through. You can select all items in the bulleted list and copy them in one time into the Address field. Then click the Add button.
Do the same for each part :
- Suspicious Lists
- Advertising Lists
- Tracking & Telemetry Lists
- Malicious Lists
- Other Lists
Your Pi-hole is now up and running.
Don’t forget to set the DNS settings on your local network DHCP server (router or dedicated DHCP server) so Pi-hole will automatically be used by any DHCP network client.
Set :
- DNS 1 : your Pi-hole
- DNS 2 : 1.1.1.1 (Cloudflare DNS)
- DNS 3 : 8.8.8.8 (Google DNS)
That will assure proper DNS translation even when your Pi-Hole is not running.