unbound: configure as a forwarded that accepts connections

This commit is contained in:
2022-08-30 07:24:18 -05:00
parent 621ae59e63
commit 399f5541c6
7 changed files with 63 additions and 3 deletions

View File

@ -0,0 +1,9 @@
server:
{% if unbound_interfaces is defined %}
{% for iface in unbound_interfaces | default([]) %}
interface: {{ iface }}
{% endfor %}
{% for ac in unbound_access_control | default([]) %}
access-control: {{ ac }}
{% endfor %}
{% endif %}