2020-04-05 17:39:27 +02:00
|
|
|
default-lease-time 86400;
|
|
|
|
max-lease-time 86400;
|
2019-05-04 10:54:51 +02:00
|
|
|
|
2020-04-05 17:39:27 +02:00
|
|
|
# Option definitions common to all supported networks.
|
2019-05-04 10:54:51 +02:00
|
|
|
|
2020-05-02 18:44:17 +02:00
|
|
|
option interface-mtu {{ mtu }};
|
2020-04-05 17:39:27 +02:00
|
|
|
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
|
|
|
|
2020-09-12 16:03:33 +02:00
|
|
|
{% if dhcp_failover_enabled %}
|
2020-04-06 17:28:04 +02:00
|
|
|
include "/etc/dhcp/dhcp-failover.conf";
|
2020-04-06 16:54:20 +02:00
|
|
|
{% endif %}
|
|
|
|
|
2020-09-12 16:03:33 +02:00
|
|
|
include "/etc/dhcp/subnets.conf";
|