unbound_cache/templates/unbound.conf.d/server.conf.j2

19 lines
401 B
Plaintext
Raw Permalink Normal View History

2019-04-02 13:28:54 +00:00
server:
interface: 127.0.0.1
interface: ::1
access-control: 0.0.0.0/0 deny
access-control: 0::0/0 deny
access-control: 127.0.0.0/8 allow
access-control: ::1/128 allow
{% for listen in unbound_cache_listen%} interface: {{ listen|ipaddr('address') }}
access-control: {{ listen|ipaddr('network/prefix') }} allow
{% endfor %}
do-not-query-localhost: no
hide-identity: yes
hide-version: yes