Files
configpolicy/roles/hass-dhcp/templates/homeassistant.dnsmasq.conf.j2
Dustin C. Hatch 5d7ebbaa05 r/hass-dhcp: Clean up DHCP/DNS service
The production deployment of *dnsmasq* for Home Assistant has deviated
from how the *hass-dhcp* role configures it.  Bringing the role back in
sync with how things really are.
2021-07-24 18:33:15 -05:00

10 lines
366 B
Django/Jinja

no-resolv
no-hosts
interface={{ hass_interface }}
dhcp-range=set:homeassistant,{{ hass_dhcp_range.start }},{{ hass_dhcp_range.end }},{{ hass_dhcp_lease_time }}
domain={{ hass_dns_domain }},{{ hass_net_cidr }}
interface-name={{ homeassistant_server_name }},{{ hass_interface }}
{% if hass_net_gateway|d %}
dhcp-option=option:router,{{ hass_net_gateway }}
{% endif %}