servers/roles/dnsmasq/templates/00-options.conf.j2

18 lines
438 B
Plaintext
Raw Permalink Normal View History

2024-07-26 08:13:59 +00:00
# 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
2024-07-26 08:13:59 +00:00
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