added unbound as nameserver software
This commit is contained in:
17
roles/nameserver/templates/unbound_network.conf.j2
Normal file
17
roles/nameserver/templates/unbound_network.conf.j2
Normal file
@@ -0,0 +1,17 @@
|
||||
server:
|
||||
ip-freebind: yes
|
||||
interface: {{ wg_local_ip | ipaddr('address') }}
|
||||
interface: 127.0.0.1
|
||||
interface: 127.0.0.53
|
||||
interface: ::1
|
||||
outgoing-interface: {{ ansible_default_ipv4.address }}
|
||||
outgoing-interface: {{ ansible_default_ipv6.address }}
|
||||
access-control: 192.168.1.0/24 allow
|
||||
access-control: 192.168.3.0/24 allow
|
||||
access-control: 172.16.0.0/24 allow
|
||||
extended-statistics: yes
|
||||
statistics-cumulative: yes
|
||||
|
||||
remote-control:
|
||||
control-enable: yes
|
||||
control-interface: 127.0.0.1
|
||||
Reference in New Issue
Block a user