Quick and Easy Pi-Hole Ad Blocking

4 years ago
79

Today we will be installing pihole. Is a small lightweight DNS server that was specifically tailored for the Raspberry Pi. 

Please Like this video and Subscribe to my channel
https://www.youtube.com/cybercpu?sub_confirmation=1

My shirt from the video
https://www.amazon.com/dp/B08FZDD7KS

-Video Notes from http://www.CyberCPUTech.com

Command to install Pihole
curl -sSL https://install.pi-hole.net | bash

Command to change password for Pihole
sudo pihole -a -p

Additional DNSMasq Options
I found a flaw in my original configuration after filming the video. The DNS outside of the network worked great. However, all of my hosts names within the network stopped working. Printers and other devices that were set dynamically could not be found on the network by their host name. So I added the routers ip address before the pihole and then set DNSMasq to use the DNS addresses in order and use both addresses for every query. This solved the problem. 

no-resolv
strict-order
dhcp-option=6,192.168.0.1,192.168.0.2

*no-resolv will force the router to use all DNS addresses available rather then just using one. 
*strict-order will force the router to use the DNS addresses in the order they are typed in to the config.
*dhcp-option=6,xxx.xxx.xxx.xxx will set static DNS servers that will override any other DNS settings. 

#pihole #adblocking #Tech

Loading comments...