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.
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
no-resolv
|
||||
no-hosts
|
||||
interface={{ hass_interface }}
|
||||
dhcp-range={{ hass_dhcp_range.start }},{{ hass_dhcp_range.end }},{{ hass_dhcp_lease_time }}
|
||||
domain={{ hass_dns_domain }}
|
||||
|
||||
log-queries=extra
|
||||
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 %}
|
||||
|
||||
Reference in New Issue
Block a user