dev #16
@@ -1,4 +1,12 @@
|
|||||||
server:
|
server:
|
||||||
|
do-ip4: yes
|
||||||
|
do-ip6: no
|
||||||
|
do-udp: yes
|
||||||
|
do-tcp: yes
|
||||||
|
hide-identity: yes
|
||||||
|
hide-version: yes
|
||||||
|
harden-glue: yes
|
||||||
|
use-caps-for-id: yes
|
||||||
do-not-query-localhost: no
|
do-not-query-localhost: no
|
||||||
{% for interface in unbound_listen_interfaces %}
|
{% for interface in unbound_listen_interfaces %}
|
||||||
interface: {{ interface }}
|
interface: {{ interface }}
|
||||||
@@ -6,15 +14,18 @@ server:
|
|||||||
{% for access in unbound_access_control %}
|
{% for access in unbound_access_control %}
|
||||||
access-control: {{ access }}
|
access-control: {{ access }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% for zone in unbound_stub_zones %}
|
|
||||||
|
|
||||||
|
# Consul ne supporte pas DNSSEC
|
||||||
|
# FIXME: domain-insecure: "consul"
|
||||||
|
|
||||||
|
{% for zone in unbound_stub_zones %}
|
||||||
stub-zone:
|
stub-zone:
|
||||||
name: "{{ zone.name }}"
|
name: "{{ zone.name }}"
|
||||||
stub-addr: {{ zone.stub_to }}
|
stub-addr: {{ zone.stub_to }}
|
||||||
stub-no-cache: {{ zone.no_cache | default('yes') }}
|
stub-no-cache: {{ zone.no_cache | default('yes') }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% for zone in unbound_forward_zones %}
|
|
||||||
|
|
||||||
|
{% for zone in unbound_forward_zones %}
|
||||||
forward-zone:
|
forward-zone:
|
||||||
name: "{{ zone.name }}"
|
name: "{{ zone.name }}"
|
||||||
forward-addr: {{ zone.forward_to }}
|
forward-addr: {{ zone.forward_to }}
|
||||||
|
|||||||
Reference in New Issue
Block a user