diff --git a/templates/nsd-satellite.conf.j2 b/templates/nsd-satellite.conf.j2 index ecdcec8..38dde76 100644 --- a/templates/nsd-satellite.conf.j2 +++ b/templates/nsd-satellite.conf.j2 @@ -3,6 +3,7 @@ zone: name: {{ zone.name }}. allow-notify: {{ star.vpn.address }} NOKEY request-xfr: AXFR {{ star.vpn.address }}@{{ star.nsd_port }} NOKEY + provide-xfr: 127.0.0.1 NOKEY {% endfor -%} # vim: set ft=yaml: diff --git a/templates/nsd-star.conf.j2 b/templates/nsd-star.conf.j2 index 4d076ff..0f0e8a9 100644 --- a/templates/nsd-star.conf.j2 +++ b/templates/nsd-star.conf.j2 @@ -6,6 +6,7 @@ zone: {% for satellite in satellites -%} notify: {{ satellite.vpn.address }}@{{ satellite.nsd_port }} NOKEY provide-xfr: {{ satellite.vpn.address }} NOKEY + provide-xfr: 127.0.0.1 NOKEY {% endfor %} {% endfor -%} diff --git a/templates/unbound.conf.j2 b/templates/unbound.conf.j2 index 9d089bc..03f6e27 100644 --- a/templates/unbound.conf.j2 +++ b/templates/unbound.conf.j2 @@ -23,11 +23,12 @@ server: {% if server.verbosity is defined -%} verbosity: {{ server.verbosity }} {% endif -%} + tls-win-cert: yes {% for zone in zones -%} - forward-zone: + auth-zone: name: {{ zone.name }}. - forward-addr: {{ server.nsd_addr }}@{{ server.nsd_port }} + master: {{ server.nsd_addr }}@{{ server.nsd_port }} {% endfor %} # vim: set syntax=yaml et sw=0 ts=2 sts=0: