1
0

dnsmasq-hotspot.conf 727 B

123456789101112131415161718
  1. # Dune Weaver - DNS redirect for captive portal detection
  2. #
  3. # This file is installed to /etc/NetworkManager/dnsmasq-shared.d/
  4. # It is automatically loaded by NetworkManager's built-in dnsmasq
  5. # when a "shared" connection (hotspot) is active.
  6. #
  7. # Redirects ALL DNS queries to the Pi so that phones/tablets trigger
  8. # captive portal detection and open the Dune Weaver app automatically.
  9. #
  10. # iOS checks: captive.apple.com
  11. # Android checks: connectivitycheck.gstatic.com
  12. # Windows checks: www.msftconnecttest.com
  13. #
  14. # By responding with the Pi's IP for all queries, the OS detects
  15. # a "captive portal" and opens its built-in browser to the Pi.
  16. # Respond to all DNS queries with the hotspot IP
  17. address=/#/10.42.0.1