Add dnsmasq role
This commit is contained in:
parent
02086cdc32
commit
b20e9cccff
6 changed files with 56 additions and 0 deletions
11
roles/dnsmasq/templates/00-options.conf.j2
Normal file
11
roles/dnsmasq/templates/00-options.conf.j2
Normal file
|
@ -0,0 +1,11 @@
|
|||
# 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(',') }}
|
Loading…
Add table
Add a link
Reference in a new issue