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

14 lines
293 B
Django/Jinja

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