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