22 lines
521 B
Plaintext
22 lines
521 B
Plaintext
|
|
server:
|
||
|
|
do-not-query-localhost: no
|
||
|
|
{% for interface in unbound_listen_interfaces %}
|
||
|
|
interface: {{ interface }}
|
||
|
|
{% endfor %}
|
||
|
|
{% for access in unbound_access_control %}
|
||
|
|
access-control: {{ access }}
|
||
|
|
{% endfor %}
|
||
|
|
{% for zone in unbound_stub_zones %}
|
||
|
|
|
||
|
|
stub-zone:
|
||
|
|
name: "{{ zone.name }}"
|
||
|
|
stub-addr: {{ zone.stub_to }}
|
||
|
|
stub-no-cache: {{ zone.no_cache | default('yes') }}
|
||
|
|
{% endfor %}
|
||
|
|
{% for zone in unbound_forward_zones %}
|
||
|
|
|
||
|
|
forward-zone:
|
||
|
|
name: "{{ zone.name }}"
|
||
|
|
forward-addr: {{ zone.forward_to }}
|
||
|
|
{% endfor %}
|