servers/roles/dnsmasq/templates/00-options.conf.j2
Timotej Lazar 7b1c2cb41d dnsmasq: drop dhcp-proxy option
Instead add firewall rules to allow direct communication from client networks.
2024-11-09 20:06:58 +01:00

13 lines
282 B
Django/Jinja

# disable DNS server
port = 0
bind-interfaces
interface = {{ interfaces | map(attribute='name') | join(',') }}
dhcp-authoritative
dhcp-option = option:dns-server,{{ dns | join(',') }}
dhcp-option = option:ntp-server,{{ ntp | join(',') }}
dhcp-script = /usr/local/bin/dns-update