Hacker News new | ask | show | jobs
by sekh60 1892 days ago
I lack a solution but would like to commiserate. We had some config errors on one of our VLANs, where DNS want reachable. The phones helpfully would just say no internet access and then bounce to 4g without any other sorry of error. What I would give to be able to just SSH into all these consumer services and just grep through the logs.
1 comments

See https://github.com/leoleozhu/android-captive-portal and 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.

I 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!