X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=modules%2Funbound%2Ftemplates%2Funbound.conf.erb;h=17683a862031792d90df99eacccf35fa0cf57b7f;hb=9cc83fd1c7a09dd062f510ad4ac4a311b9208dc0;hp=fe710ea916e09e8774cab7e85c3601d63257ac87;hpb=e4f56ddf7fbb81d1c53a9cc5dce75e0d2b8d7988;p=dsa-puppet.git 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| -%>