The original post: /r/pihole by /u/tux-5574 on 2024-11-09 03:51:23.
TL;DR: After switching from my GL-iNet as the DHCP sever to my PiHole, I cannot access my VPN anymore.
Long Story:
I have been using Pi-Hole with UnboundDNS for a little over a month now, so I am a bit new to this.
My initial network setup was on a double NAT'd little GL-iNet travel router behind a starlink router. I just had a couple devices on this network to include Pi-Hole and Unbound running on my Ubuntu server. I had no issues and everything ran smoothly. However, I wanted to expand pihole and VPN to my entire home network and the travel router couldn't handle the encryption. I bought a nicer GL-iNet router that could handle the encryption for the entire home/family.
This was where I ran into my first issue. Technically everything worked. The VPN and pihole. However, my DNS queries started going haywire and I was getting 500-2000 requests per second. It looked like 1 individual request would turn into hundreds. I had to change my timeout to 100k request per minute temporarily to figure it out but eventually my server crashed. I have a google router that is used only for my google security cameras (side note: google home products are absolutely terrible and only got it because its an ADT solution and that's what the wife wanted). I switched the DNS for that network to google's DNS and it did alleviate some of those queries but the issues was still at a critical level.
It is important to note that my router was the DHCP server at this time. I switched the DHCP server to the pihole so I could log the traffic effectively but somehow once I did that, all the traffic and DNS queries became normal again. OK, so thats fixed, phew!
Now, every time I turn on my WireGuard client on my router, I lose all internet connection. In the router, you can specifically bypass the VPNs DNS settings. So I'm assuming that it has something to do with this. However, it does not appear to only be a DNS issue as I cannot ping 1.1.1.1 or 8.8.8.8 with the VPN running. So, that is where I am at. Any help or ideas would be very much appreciated. I am postie this is something so small but my brain is a little fried from working all these little various issues setting up the new network and setting a remote LAN access solution (that's a whole other story that I will be asking for help regarding remote access to Pihole and UnboundDNS in the future but that's small potatoes right now).
I'll have a bacon cheese burger and some fries. TIA.