Firstly, thanks so much for all you work on Blokada! I really appreciate it and have been using it for a few years now.
I run Blokada 5.10.1 from F-Droid on an Android phone (Google Pixel 3, fully updated Android 11).
My workplace has very poor mobile (cellular) reception and to save battery I use a company WiFi. Sadly the WiFi also has black spots (and it has a super annoying guest portal which I have to sign in to after leaving it for only 5 minutes!).
While walking around the office my phone will switch between WiFi and mobile networks regularly (tangent: Why is blokada 5 slower to start the VPN than early version 5 releases?) I often find that after a few such switches my phone is unable to resolve DNS entirely. My mobile browser of choice (Brave) and a weather app fail with clear DNS errors (most other apps just give generic connection type errors).
- In Blokada’s “Networks” settings, for “All Networks” I have “Encrypt DNS” and “Use DNS: Cloudflare: malware blocking” selected.
- However I have an override for “Any WiFi network” where “Encrypt DNS” is not selected, “Use DNS: Cloudflare: malware blocking” is selected and “Prefer network DNS” is also selected (because I don’t leave location enabled all the time and so you cannot detect my home WiFi - I require local DNS at home).
I recently switched to version 5 after you added “network DNS” support. The problem never happened in version 4 and I don’t remember noticing it in the first version of 5 which supported “network DNS” but it happens regularly now with 5.10.1.
When the problem happens, if I open the “Any Wifi network” setting override and toggle “Prefer network DNS” off and on again, DNS will work until my phone switches networks a few more times.
I’ve not tried disabling encrypted DNS totally but I have tried toggling Blokada off and on doesn’t seem to fix it.
Do you know how I can diagnose this please?
Thank you in advance!