Skip to content
Snippets Groups Projects
Verified Commit cb0e59f7 authored by Robin Sonnabend's avatar Robin Sonnabend
Browse files

Optionally make unbound recursive if no forward is configured

parent 000f58d8
No related branches found
No related tags found
No related merge requests found
Pipeline #1903 passed
......@@ -6,8 +6,10 @@ server:
access-control: {{i}} allow
{% endfor %}
{% if unbound_upstream_hosts is defined and unbound_upstream_hosts %}
forward-zone:
name: "."
{% for i in unbound_upstream_hosts %}
forward-addr: {{i}}
{% endfor %}
{% endif %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment