Hi, I have just installed Pi-Hole on my Raspberry PI (LAN), works very well. I have also set up Unbound on a VPS 2-3ms away (only allowing connections from my static IP). What would give the best performance with respect to speed and reliability, Unbound on the Pi-hole configuration or on the VPS? Pros and cons?
Not in my opinion. All your other internet traffic is coming to/from that address. Any website or other place on the internet that you visit already knows your IP address.
OK, if I install Unbound on the PI and then use 127.0.0.1#5335 as DNS. In case I would like to change back to the VPS' IP, do I need to uninstall Unbound from the PI?
No. If you prefer not to uninstall it, unbound on the Pi will continue to run, waiting for DNS queries that won't arrive until you configure Pi-hole to use it again.
Likely not. The algorithm in FTL for choosing an upstream DNS server is based on response speed, and your local instance will always respond more quickly. As a result, you will likely find that all (or almost all) of the DNS traffic is forwarded to your local instance.
Hi, see screenshot. This is after a couple of hours using both Unbound on the Raspberry and on the VPS. Looks like shared between the both with majority to the VPS. Might be OK to run both as redudancy?