18 lines
438 B
Django/Jinja
18 lines
438 B
Django/Jinja
# disable DNS server
|
|
port = 0
|
|
|
|
# we are the only DHCP server
|
|
dhcp-authoritative
|
|
|
|
# don’t try to ping clients for duplicate IP check
|
|
# has 3 s timeout during which no other requests are processed
|
|
no-ping
|
|
|
|
bind-interfaces
|
|
interface = {{ interfaces | map(attribute='name') | join(',') }}
|
|
|
|
dhcp-option = option:dns-server,{{ dns | join(',') }}
|
|
dhcp-option = option:ntp-server,{{ ntp | join(',') }}
|
|
|
|
dhcp-script = /usr/local/bin/dns-update
|