From: Peter Palfrader Date: Mon, 15 Apr 2013 06:43:24 +0000 (+0200) Subject: Failsafe X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=9cc83fd1c7a09dd062f510ad4ac4a311b9208dc0;hp=e4f56ddf7fbb81d1c53a9cc5dce75e0d2b8d7988;p=dsa-puppet.git Failsafe --- diff --git a/modules/unbound/templates/unbound.conf.erb b/modules/unbound/templates/unbound.conf.erb index fe710ea9..17683a86 100644 --- a/modules/unbound/templates/unbound.conf.erb +++ b/modules/unbound/templates/unbound.conf.erb @@ -44,7 +44,8 @@ server: auto-trust-anchor-file: "/var/lib/unbound/root.key" auto-trust-anchor-file: "/var/lib/unbound/debian.org.key" -<% if (not @is_recursor) and @ns -%> +# recursive: <%= @is_recursor ? "y" : "n" %> +<% if (not @is_recursor) and (not @ns.empty?) -%> forward-zone: name: "." <% @ns.to_a.flatten.each do |nms| -%>