Pi-Hole a network wide is an add blocker(DNS based) for home network
- Clone this repo on the server where you want to run Pi-Hole as DNS server.
- Stop Linux's default DNS resolver:
sudo systemctl stop systemd-resolved
- Disable Linux's default DNS resolver:
sudo systemctl disable systemd-resolved
- Edit this file
sudo vim /etc/resolv.conf
to changenameserver 127.0.0.53
tonameserver 1.1.1.1
in the file - Run the docker container
sudo docker-compose up -d
- Visit: http:///admin and you should see the Pi-Hole web interface
- Make sure you set the DNS in your router to the ip address(ipv4 and ipv6) of the machine where Pi-Hole is installed
- Now you should see all the block add in the PI-Hole web interface