# Dune Weaver - DNS redirect for captive portal detection
#
# This file is installed to /etc/NetworkManager/dnsmasq-shared.d/
# It is automatically loaded by NetworkManager's built-in dnsmasq
# when a "shared" connection (hotspot) is active.
#
# 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
