include "/etc/dhcp/rndc.key"; omapi-port 7911; omapi-key rndc-key; #++++++++++++++++++++++++++++++++++++++++++++++ Global authoritative; log-facility local7; update-static-leases on; use-host-decl-names on; default-lease-time 86400; max-lease-time 86400; option domain-name "{{ domain_name.name }}"; option domain-name-servers {{ domain_name.servers }}; option ntp-servers {{ domain_name.ntp_servers }}; # DHCP daemon uses default time zone UTC db-time-format local; # Allow each client to have exactly one lease, and expire # old leases if a new DHCPDISCOVER occurs one-lease-per-client true; # This checking cause just 1s time delay in responding DHCPDISCOVER messages # but it may help to abandone old leases from db ping-check true; #++++++++++++++++++++++++++++++++++++++++++++++ DNS ddns-update-style interim; ddns-updates on; deny client-updates; deny duplicates; deny declines; zone 10.in-addr.arpa. { primary {{ domain_name.server_primary }}; key rndc-key; } zone 16.172.in-addr.arpa. { primary {{ domain_name.server_primary }}; key rndc-key; } zone 168.192.in-addr.arpa. { primary {{ domain_name.server_primary }}; key rndc-key; } on commit { log (concat("Host registered: ", config-option host-name)); } #++++++++++++++++++++++++++++++++++++++++++++++ Subnets {{ subnets }}