unbound: Don't hardcode zones
This commit is contained in:
parent
3b2c2a453e
commit
fd495036f2
5 changed files with 20 additions and 25 deletions
|
@ -26,9 +26,8 @@ remote-control:
|
|||
control-enable: yes
|
||||
control-interface: /var/run/unbound.sock
|
||||
|
||||
{% for zone in unbound_zones %}
|
||||
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"
|
||||
name: "{{ zone }}"
|
||||
zonefile: "{{ unbound_zonedir }}/{{ zone }}"
|
||||
{% endfor %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue