Add additional allow networks
This commit is contained in:
parent
cb3c4fd144
commit
ce0855a23e
|
@ -1,4 +1,6 @@
|
|||
---
|
||||
unbound_cache_allowlist: []
|
||||
|
||||
unbound_cache_forwarder:
|
||||
- 9.9.9.10
|
||||
|
||||
|
|
|
@ -8,6 +8,9 @@ server:
|
|||
access-control: 127.0.0.0/8 allow
|
||||
access-control: ::1/128 allow
|
||||
|
||||
{% for net in unbound_cache_allow_list %} access-control: {{ net }} allow
|
||||
{% endfor %}
|
||||
|
||||
{% for listen in unbound_cache_listen%} interface: {{ listen|ipaddr('address') }}
|
||||
access-control: {{ listen|ipaddr('network/prefix') }} allow
|
||||
{% endfor %}
|
||||
|
|
Loading…
Reference in a new issue