Answering second IP address?
Posted: Wed Mar 13, 2019 4:00 pm
I'm revisiting the issue of the Captive Portal not triggering the android/apple helpers to properly redirect to a landing page when connecting to an esp8266 wifi access point.
One of the suggestions I found on another forum said that the android devices in particular may try to make a DNS lookup directly to the google default DNS servers if they fail to get an answer they think is reliable for a mock-DNS response such as the typical DNSServer.h type 'respond to everything with the AP address'.
They said they got the pop-up to properly trigger with the helper-redirect by answering DNS on 8.8.8.8 and/or 8.8.4.4
I'm wondering if it's possible to configure the esp8266 to answer DNS queries directed at 8.8.8.8 to test this theory.
One of the suggestions I found on another forum said that the android devices in particular may try to make a DNS lookup directly to the google default DNS servers if they fail to get an answer they think is reliable for a mock-DNS response such as the typical DNSServer.h type 'respond to everything with the AP address'.
They said they got the pop-up to properly trigger with the helper-redirect by answering DNS on 8.8.8.8 and/or 8.8.4.4
I'm wondering if it's possible to configure the esp8266 to answer DNS queries directed at 8.8.8.8 to test this theory.