Install Pi-hole
curl --proto '=https' --tlsv1.2 -sSfL https://install.pi-hole.net | bash
Blacklists - add in the admin UI
- https://github.com/raw/Sekhan/TheGreatWall/master/TheGreatWall.txt
- https://github.com/raw/oneoffdallas/dohservers/master/list.txt
See whitelist.txt
. Add to the Pi from the terminal:
rg -v '^#' whitelist.txt | xargs -I {} pihole -w {}
Check /etc/pihole/whitelist.txt
and confirm the domains were added.
After updating white- or blacklists, run pihole -g
pihole -q <domain>