1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

conditional captive portal

This commit is contained in:
Jerry Vonau 2018-06-01 12:33:03 -05:00
parent 656d7caeb0
commit 6a47aa024f

View file

@ -4,8 +4,10 @@ bogus-priv
#server=/{{ iiab_domain }}/{{ iiab_hostname }}
# Add local-only domains here, queries in these domains are answered from /etc/hosts or DHCP only.
local=/{{ iiab_domain }}/
{% if captive_portal_enabled == "True" %}
# Make all host names resolve to the Raspberry Pi's IP address
#address=/#/{{ lan_ip }}
address=/#/{{ lan_ip }}
{% endif %}
# Specify the interface that will listen for DHCP and DNS requests
interface={{ iiab_lan_iface }}
# Set the domain for dnsmasq