Setup a DNS server with automatic Ad Blocking!

Published on:

Views: 0

Likes: 0

Tags:

pi-hole
ad blocker
recursive dns
dns server
ubuntu
raspberry pi
unbound
Watch video on Youtube

Setup an recursive DNS caching server and block annoying ads! Then have your entire network use this as the DNS server for all devices by default! Install Pi-hole sudo curl -sSL https://install.pi-hole.net | bash Change pi-hole password pihole -a -p [password or blank] Install Unbound DNS Resolver sudo apt-get install unbound Create and edit the pi-hole config file for Unbound sudo nano /etc/unbound/unbound.conf.d/pi-hole.conf Copy the example from pi-hole website: https://docs.pi-hole.net/guides/dns/unbound/ Restart Unbound sudo systemctl restart unbound Ad Lists I use: https://adaway.org/hosts.txt https://v.firebog.net/hosts/static/w3kbl.txt https://v.firebog.net/hosts/Easyprivacy.txt https://github.com/silv3rr/pihole-scripts/blob/master/pihole-whitelist.txt Update Gravity after you install new lists. Update router or computer DNS to use your new piholes!