Actually I think you might be able to.
According to
https://github.com/pi-hole/pi-hole/issues/165
"Pi-Hole uses Google's DNS servers. You can change that in /etc/dnsmasq.conf. The section you need to change is server=8.8.8.8 to server= and then the IP's for OpenDNS. You may need to sudo nano /etc/dnsmasq.conf to edit the file, and then sudo systemctl restart dnsmasq to reload the configuration after you do the updates."
So why not just in the router, point your devices to the Pi-Hole, and in the Pi-Hole, change the 8.8.8.8 and point is BACK at the router? This way the traffic goes to the pihole, then routed back to the router, where I am running DNS Crypt, where it will forward the DNS requests to my DNS crypt servers.
I had ordered my Pi this week with the hopes of doing this... Will have it soon to try. Do you think I wont be able to do this plan??
Also, I am getting an error after adding a few hosts. I added them with WinSCP text editor right on the server. Do you think it is an error with my Windows vs Unix new lines? If so, how do I add them? It shouldn't be the issue, because the script runs the command "sed $'s/\r$//'" to guard against it doesn't it?
The lines I added are:
# large hosts
cat >> $installDirPath/$scriptsDir/$updateHostsFile << EOF
# get hosts files and combine
wget -qO- \\
"
http://winhelp2002.mvps.org/hosts.txt" \\
"
http://someonewhocares.org/hosts/zero/hosts" \\
"
http://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&showintro=0&startdate[day]=&startdate[month]=&startdate[year]=&mimetype=plaintext&useip=0.0.0.0" \\
"
http://www.malwaredomainlist.com/hostslist/hosts.txt" \\
"
http://support.it-mate.co.uk/downloads/hosts.txt" \\
"
http://hosts-file.net/download/hosts.txt" \\
"
http://pgl.yoyo.org/as/serverlist.php?hostformat=hosts&showintro=1&mimetype=plaintext" \\
"
http://sysctl.org/cameleon/hosts.win" \\
"
http://optimate.dl.sourceforge.net/project/adzhosts/HOSTS.txt" \\
"
https://adaway.org/hosts.txt" \\
"
http://adblock.gjtech.net/?format=unix-hosts" \\
"
http://www.hostsfile.org/Downloads/hosts.txt" \\
"
http://pastie.org/pastes/10910319/text" \\
> \$dir/temp1
EOF
fi
I know these files work well with Hostsman on Windows (I am switching from Hostsman program to router blocking)
The error I get was
hosts-adblock is NOT OK, file missing