| 12345678910111213141516171819202122232425 |
- # Dune Weaver - DNS redirect for captive portal detection
- #
- # Used in hotspot mode only. Redirects ALL DNS queries to the Pi
- # so that phones/tablets trigger captive portal detection and
- # open the Dune Weaver app automatically.
- #
- # iOS checks: captive.apple.com
- # Android checks: connectivitycheck.gstatic.com
- # Windows checks: www.msftconnecttest.com
- #
- # By responding with the Pi's IP for all queries, the OS detects
- # a "captive portal" and opens its built-in browser to the Pi.
- # Respond to all DNS queries with the hotspot IP
- address=/#/10.42.0.1
- # Don't use upstream DNS servers (we want ALL queries to resolve to us)
- no-resolv
- # Don't read /etc/hosts
- no-hosts
- # Only handle DNS (port 53), not DHCP (NetworkManager handles DHCP)
- no-dhcp-interface=wlan0
- port=53
|