My setup, and recent changes:
Pi-Hole is running on an Ubuntu 22.04 machine which has a Ryzen 2700X CPU, and which also happens to host my Plex server and various other server apps for other devices on my LAN. I recently upgraded my internet connection to 2gb, and to take full advantage of it, I added a new 2.5gbe NIC to the Pi-Hole machine, which is assigned to interface enp35s0. Previously, it was using the motherboard's onboard NIC which is interface enp37s0. I also had to upgrade the router to support > 1 gbe connections. The new one is a Ubiquiti Dream Machine SE.
In my old router, I had configured the Pi-Hole IP address (192.168.1.18 - static thanks to a DHCP reservation) on the WAN-side DNS configuration. Clients made DNS requests to the router IP (192.168.1.1) and the router forwarded them to the Pi-Hole server. That worked fine, although from Pi-Hole's perspective all requests came from one client (the router).
In the new router, the same approach does not work for some reason, so I've configured the Pi-Hole IP on the LAN-side DNS. The router passes the Pi-Hole server IP to clients as the DNS server, and they connect directly to the Pi-Hole server as expected. Nice bonus, now I can see the client details in Pi-Hole.
The Problem:
Everything works fine for some period of time. Then suddenly, all internet-bound traffic fails, for all clients on the LAN. This happens without any configuration change on my part. All clients report no internet connection. Checking Pi-Hole, no new issues are reported and it sees the inbound DNS requests, and indicates request status "OK", yet the traffic doesn't reach the destination. Disabling blocking in Pihole does not solve the problem. If I disable Pi-Hole from the router by setting the router IP for DNS, then the problem is solved. If I add Pi-Hole back to the router with the same configuration, it works again, for some hours until the cycle repeats. I tried switching to a different router but the problem was the same.
Help requested:
I need help to figure out why the problem happens, and how to fix it. Since several things changed at once on my network, it's been difficult for me to pinpoint the root cause.
Debug Token:
https://tricorder.pi-hole.net/yTq6x5CG/
Note: The problem was not happening at the time the log was captured. If helpful, I can wait for the problem to happen again and capture another log.