Recently set up a Pi-hole on a Pi 3B+ and also configured unbound to work with it. It worked for about 2 days perfectly until today when a power cut happened and when the power came back, only my laptop was not able to connect to any site except the pi-hole dashboard.
I checked the queries, some apps like Discord were sending queries but the app never loaded in, most were Microsoft queries (windows installation on laptop, the queries were I'm pretty sure to check the internet access of the WiFi as they stopped as soon as the "Internet access" icon popped up on the taskbar) which stopped after a small while and I did not find any other queries (for example to Google when I tried loading Google to test the internet) in the query list.
How I fixed it: (temporarily)
As expected forcing the DNS to be another upstream DNS like Cloudflare let me use the internet again. Then I tried putting the dns caching value in the pi-hole dashboard to 0 and everything went back to normal even with the pi-hole DNS. Of course, I can't go around clearing the cache every single time my pi-hole turns off, so I'm wondering if the cache gets corrupted whenever the pi turns off suddenly. But in that case, wouldn't all my devices be affected??
Also, nslookup returned "server not found" for any and all domains I tried
(I am a newbie, please do not judge)
Expected Behaviour:
For my laptop to be able to access the internet the same as my other devices.
- Raspberry Pi OS Lite
- Raspberry Pi 3B+
Actual Behaviour:
Singular device not able to access the internet at all.
Debug Token:
https://tricorder.pi-hole.net/rxpuRGcM/ (I suppose this is it??)