dnsmasq-hotspot.conf 797 B

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