Add additional allow networks

This commit is contained in:
Sven Velt 2025-05-02 16:00:14 +02:00
parent cb3c4fd144
commit ce0855a23e
2 changed files with 5 additions and 0 deletions

View file

@ -1,4 +1,6 @@
---
unbound_cache_allowlist: []
unbound_cache_forwarder:
- 9.9.9.10

View file

@ -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 %}