]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - modules/unbound/templates/unbound.conf.erb
get rid of broken nameservers
[dsa-puppet.git] / modules / unbound / templates / unbound.conf.erb
index 0546980c995788b0702554993c78ddb335fdfabe..fe710ea916e09e8774cab7e85c3601d63257ac87 100644 (file)
@@ -44,7 +44,7 @@ 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 not @dodgy_ns -%>
+<% if (not @is_recursor) and @ns -%>
 forward-zone:
        name: "."
 <% @ns.to_a.flatten.each do |nms| -%>