servers/roles/dnsmasq/templates/00-options.conf.j2
Timotej Lazar 1b5a20ac8a dnsmasq: disable ping for duplicate address detection
Some things don’t reply which holds up all requests for 3 seconds.
2024-11-28 15:41:22 +01:00

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