ansible/roles/isc_dhcp_server/templates/dhcp/dhcpd.conf.j2

26 lines
709 B
Text
Raw Normal View History

default-lease-time 86400;
max-lease-time 86400;
2019-05-04 10:54:51 +02:00
# Option definitions common to all supported networks.
2019-05-04 10:54:51 +02:00
option interface-mtu {{ mtu }};
option root-path "/";
2019-05-04 10:54:51 +02:00
# The ddns-updates-style parameter controls whether or not the server will
# attempt to do a DNS update when a lease is confirmed. We default to the
# behavior of the version 2 packages ('none', since DHCP v2 didn't
# have support for DDNS.)
ddns-update-style none;
# If this DHCP server is the official DHCP server for the local
# network, the authoritative directive should be uncommented.
authoritative;
2020-04-06 17:42:54 +02:00
log-facility local7;
2019-05-04 10:54:51 +02:00
{% if dhcp_failover_enabled %}
include "/etc/dhcp/dhcp-failover.conf";
{% endif %}
include "/etc/dhcp/subnets.conf";