3 ms·
See https://github.com/leoleozhu/android-captive-portal https://github.com/leoleozhu/android-captive-portal and https://success.tanaza.com/s/article/How-Automat
by g_p 6y ago
See https://github.com/leoleozhu/android-captive-portal https://github.com/leoleozhu/android-captive-portal and https://success.tanaza.com/s/article/How-Automatic-Detection-of-Captive-Portal-works https://success.tanaza.com/s/article/How-Automatic-Detection...
If you could return valid internal DNS entries for these domains, and serve up a 204 to the right requests, you should be able to stay online.
You need to ensure you don't do it for every possible domain - I believe Chrome also tests random non-existent domains too, to ensure it gets back the expected error.
- pfyra 6y agoI have a "captive" or "promiscuous" dns server (it responds with its own IP for all requests) for my esp projects so this info is exactly what I need. Thanks a lot!