unbound: Change static configs to templates

This commit is contained in:
Timo Makinen 2021-09-29 18:38:23 +00:00
parent d7baae9aea
commit 581484d207
8 changed files with 3 additions and 3 deletions

View file

@ -0,0 +1,28 @@
server:
interface: 127.0.0.1
interface: ::1
interface: 172.20.20.10
interface: 172.20.21.2
access-control: 127.0.0.0/8 allow
access-control: ::1 allow
access-control: 172.20.20.0/22 allow
hide-identity: yes
hide-version: yes
prefetch: yes
unblock-lan-zones: yes
remote-control:
control-enable: yes
control-interface: /var/run/unbound.sock
auth-zone:
name: "home.foo.sh"
zonefile: "/var/unbound/db/home.foo.sh"
auth-zone:
name: "20.172.in-addr.arpa"
zonefile: "/var/unbound/db/20.172.in-addr.arpa"