Expected Behaviour:
I'm running Pihole on a Raspberry Pi 4B. It serves as the DNS for two devices with which I'm testing pihole. The expected behavior is that pihole should work.
Actual Behaviour:
I'm still testing it but facing issues with stability. So far, twice, pihole has randomly stopped working rendering the 2 test client devices disconnected from the Internet (Screenshot of the query timeline graphe in the link below). The Pihole stopped working randomly after I'd gone to bed. As I'd already retired for the night and only I have access to the Pihole setup, there were no changes made from when it was working to when it randomly stopped working
In the morning, both the test clients weren't able to connect to the Internet. I was also unable to access the pihole admin interface. I was able to connect to the RPi via ssh and vnc. Searching around on the internet, I restarted the dns service (pihole restartdns) but that did not work.
Soon after that, I stepped away from the laptop while connected via VNC. After about 30 minutes, when I returned, VNC stopped working - VNC showed as still connected but it would not respond. SSH was working fine and still connected. VNC would not reconnect. I was again unable to connect to the pihole admin after this. Finally, I thought of restarting pihole but instead ran pihole -r and chose the repair option. That finally fixed it and I was again able to access the pihole admin as well as connect via vbnc
Why did the pihole randomly stop working and how do I prevent it? I'll have several devices connecting via the pihole and in my absence, co-residents are not tech savvy to be able to restart the pihole if it stops working.
Screenshot of query history:
Separately, whenever I run pihole -d, I get the following error every time
[?] Would you like to upload the log? [y/N] y
* Using curl for transmission.
* curl failed, falling back to netcat for transmission.