aboutsummaryrefslogtreecommitdiffstats
path: root/unbound.conf.erb
diff options
context:
space:
mode:
Diffstat (limited to 'unbound.conf.erb')
-rw-r--r--unbound.conf.erb12
1 files changed, 8 insertions, 4 deletions
diff --git a/unbound.conf.erb b/unbound.conf.erb
index 3b2aedc..5fea249 100644
--- a/unbound.conf.erb
+++ b/unbound.conf.erb
@@ -162,10 +162,14 @@ auth-zone:
<% end %>
-# The DN42 root zones.
+# The DN42 zones.
<% dn42_zones.split.each do |zone| -%>
-stub-zone:
- name: <%= zone %>.
- stub-addr: <%= dn42_master %>
+auth-zone:
+ name: <%= zone %>
+ primary: <%= master_addr %> # <%= master %>
+ fallback-enabled: yes
+ for-downstream: no
+ for-upstream: yes
+ zonefile: <%= confdir %>/secondary/<%= zone.gsub('/', '_') %>
<% end %>