Closed Ataraxiall closed 2 weeks ago
Short answer - this goes in dns-connected.conf.
Comitup is managing dnsmasq, using one of two configuration files for HOTSPOT and CONNECTED modes. The other, dns-hotspot.conf, actually does what you want to do, with the "address" key. See the dnsmasq man page for details.
Thanks for the response.
I cant locate dnsmasq conf file (not in /etc).
Where i cand find it?
Thanks!
Good morning,
I want to make it so that when a client is connected, all DNS requests are redirected to the localhost of comitup. This is because the Raspberry Pi does not have internet, and the iPhone disconnects from the access point after a few minutes due to the lack of internet. I want to try installing Nginx so that the requests checking for internet connectivity are resolved locally.
Here is the explanation for the Apple website configuration:
First
server
block:connectivitycheck.gstatic.com
./generate_204
path (Android connectivity check).iPhone connectivity check: The iPhone checks for internet connectivity by trying to reach
http://www.apple.com/library/test/success.html
. It expects a response containing the text "Success". If it receives this response, it assumes that there is an internet connection.Is it possible to do this? In which file do I put the DNS resolutions? Thank you and best regards.