Please follow the below template, it will help us to help you!
If you are Experiencing issues with a Pi-hole install that has non-standard elements (e.g you are using nginx
instead of lighttpd
, or there is some other aspect of your install that is customised) - please use the Community Help category.
Expected Behaviour:
Normal internet connectivity on WiFi in Windows 10.
Actual Behaviour:
WiFi still connected, but internet connectivity keeps dropping.
Debug Token:
https://tricorder.pi-hole.net/olrwtjjvow
Now coming to the full details:
I installed Pi-hole v5.0 on a Raspberry Pi 3B+ running Raspberry Pi OS 10 (Buster). I didn't deviate from the default installation - chose CloudFlare as the upstream DNS service. Used the default domain blacklist configuration, no modifications there.
Connected the RPi by LAN (CAT-5) cable to my router - NetGear JWNR2010v5. Assigned a static IP to the RPi and set this local static IP as the primary DNS server in the router, no secondary DNS server added in the router. Using the router for the DHCP functionality, not Pi-hole's.
Now I have quite a few devices connected to the router for WiFi - some android phones, a smart TV, a Win10 PC by LAN cable, and a Win10 Laptop by WiFi.
Ads are getting blocked fine in all the devices. There are no connectivity issues in the devices except for one - the Win10 laptop connected on WiFi
For some weird, unknown reason, my Win10 Laptop keeps getting internet connectivity drops while still being connected to the WiFi - I keep getting the "No Internet, Secured / Connected" status. This keeps happening randomly - from once every few minutes, to the max being once in an hour. This happens only on this device.
While this happens on the laptop, all the other devices are still connected and have internet connectivity, without any issues. Also, at this time, from the laptop, the router and other connected devices like the RPi aren't visible / accessible.
This gets fixed temporarily for a few minutes when I either manually disconnect and re-connect to the WiFi , or use the netsock commands to release, renew ip and flush dns cache. If I run the windows troubleshooter, it disables and re-enables the WiFi radio, establishing a new connection and fixing temporarily, and the issue starts repeating in a few minutes.
I tried removing Pi-hole as the DNS server from the router and from the laptop individually, going back to pre pi-hole setup, using the default DNS servers and also separately, manually specifying CloudFlare/OpenDNS/Google DNS severs - everything works fine then - no drops or internet disconnection then.
I checked if there's any blacklisting on the msftncsi domains used by Win10 for checking networking connectivity, but it seems they're already whitelisted and I can see the response when I try them manually in the browser, during the connected state.
I also read about DNS over HTTPS (DoH) and Windows 10 issues with that. So I followed Pi-hole's guide on installing a background service for DoH offered by CloudFlare on the RPi and updated Pi-hole's upstream DNS to use the local service.
Still no luck - works fine on all the other devices except the Win10 laptop.
Posting this finally, in hope of any suggestions by the Wizards.