PiHole and Adblock
Posted: Mon Sep 06, 2021 2:00 pm
Gargoyle users/developers,
I am interested in maximizing my ability to block ads on my network and recently installed PiHole into a container running on my ProxMox V7 server.
Initially I set my DNS to be the IP address of the PiHole server in the DNS menu in Gargoyle (removing all other DNS IP addresses) and this did not work to give clients access to resolve domains. I also had Adblock disabled during this test too.
I then enabled Adblock again, changed the DNS menu to have the "OpenDNS" setting and then set in the /etc/dnsmasq.conf file dhcp-option 6 to the Pi-Hole server and things work but I am not sure if they are setup as I had intended things to function. I also have Allow NameCoin/OpenNIC Resolution and Force Clients To Use Router DNS Servers ticked off (enabled) too.
My intended operational design was this:
Client DHCPs an IP address and receives Pi-Hole as it DNS server, Pi-Hole does its work and then use the DNS servers set in the Gargoyle DNS menu to forward on its DNS resolution thus causing adblock to be used as well.
My intention was for clients to fallback to using the Gargoyle DNS entries to resolve DNS if the Pi-Hole server went down but to use PiHole first to try to block ads in concert with Adblock.
One last question is, is there some manner by which I can automate Adblock to get updates for its blocklist?
Ideas and suggestions?
Thanks in advance!
I am interested in maximizing my ability to block ads on my network and recently installed PiHole into a container running on my ProxMox V7 server.
Initially I set my DNS to be the IP address of the PiHole server in the DNS menu in Gargoyle (removing all other DNS IP addresses) and this did not work to give clients access to resolve domains. I also had Adblock disabled during this test too.
I then enabled Adblock again, changed the DNS menu to have the "OpenDNS" setting and then set in the /etc/dnsmasq.conf file dhcp-option 6 to the Pi-Hole server and things work but I am not sure if they are setup as I had intended things to function. I also have Allow NameCoin/OpenNIC Resolution and Force Clients To Use Router DNS Servers ticked off (enabled) too.
My intended operational design was this:
Client DHCPs an IP address and receives Pi-Hole as it DNS server, Pi-Hole does its work and then use the DNS servers set in the Gargoyle DNS menu to forward on its DNS resolution thus causing adblock to be used as well.
My intention was for clients to fallback to using the Gargoyle DNS entries to resolve DNS if the Pi-Hole server went down but to use PiHole first to try to block ads in concert with Adblock.
One last question is, is there some manner by which I can automate Adblock to get updates for its blocklist?
Ideas and suggestions?
Thanks in advance!