This page documents the setup and configuration of Pi-hole running on the Raspberry Pi 4B. It provides DNS filtering for the local network and VPN clients, with custom blocklists to minimise ads, trackers, and telemetry.
| Item | Detail |
|---|---|
| Device | Raspberry Pi 4B (2GB RAM) |
| OS | Raspberry Pi OS (Debian Bookworm, Headless) |
| IP Address | 192.168.1.204 (DHCP reserved) |
| Network Interface | eth0 (Ethernet only) |
| Web Interface | http://192.168.1.204/admin/ |
| DNS for LAN | Set statically via router DHCP |
| DNS for VPN | Configured in WireGuard client |
Pi-hole installed via the official one-liner:
curl -sSL https://install.pi-hole.net | bash
During setup:
eth01.1.1.1) or your preferred resolverThe following curated blocklists are used to enhance ad and tracker filtering:
https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts
https://dbl.oisd.nl/
https://v.firebog.net/hosts/Easyprivacy.txt
https://v.firebog.net/hosts/AdguardDNS.txt
https://v.firebog.net/hosts/Prigent-Ads.txt
https://v.firebog.net/hosts/lists.php?type=tick
To add these:
pihole -g
192.168.1.204:53192.168.1.204 for DNS resolution:DNS = 192.168.1.204
Router handles DHCP:
192.168.1.204 as the DNS serverAccess from your LAN:http://192.168.1.204/admin/
Default login is secured via a web password set during install. You can reset it if needed:
pihole -a -p
To update Pi-hole:
pihole -up
Update the OS with:
sudo apt update && sudo apt upgrade -y
To restart DNS service only:
pihole restartdns
| Task | Command |
|---|---|
| Update blocklists (gravity) | pihole -g |
| View DNS status | pihole status |
| View top clients/domains | pihole top |
| Tail real-time logs | pihole -t |
| Restart service | sudo systemctl restart pihole-FTL |
plex.vibehub.one, proxmox.vibehub.one) if blocked/etc/pihole/
/etc/dnsmasq.d/