From: Peter Palfrader Date: Wed, 9 Mar 2011 12:45:59 +0000 (+0100) Subject: Try not to set forwarders when they are bad X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=58fabd999e005fbab5ec81dd5fc29123fda2bbf8;p=mirror%2Fdsa-puppet.git Try not to set forwarders when they are bad --- diff --git a/modules/unbound/templates/unbound.conf.erb b/modules/unbound/templates/unbound.conf.erb index 74cf4bb22..026126bd0 100644 --- a/modules/unbound/templates/unbound.conf.erb +++ b/modules/unbound/templates/unbound.conf.erb @@ -52,7 +52,7 @@ server: <%= out = [] - unless nodeinfo['misc']['resolver-recursive'] + unless nodeinfo['misc']['resolver-recursive'] and not nodeinfo['hoster']['nameservers_break_dnssec'] forwarders = nodeinfo['hoster']['nameservers'] forwarders ||= []