From: Peter Palfrader Date: Sat, 15 Jun 2013 10:38:46 +0000 (+0200) Subject: set forward-first on resolvers X-Git-Url: https://git.donarmstrong.com/?p=dsa-puppet.git;a=commitdiff_plain;h=15c12f47247dca5784c4a446889f73a46ebca680 set forward-first on resolvers --- diff --git a/modules/unbound/templates/unbound.conf.erb b/modules/unbound/templates/unbound.conf.erb index b3c634bb..e72514a0 100644 --- a/modules/unbound/templates/unbound.conf.erb +++ b/modules/unbound/templates/unbound.conf.erb @@ -52,6 +52,10 @@ forward-zone: <% @ns.to_a.flatten.each do |nms| -%> forward-addr: <%= nms %> <% end -%> +<% if @lsbmajdistrelease >= '7' -%> + forward-first: yes +<% end -%> + # XXX : we probably ought to forward 172.29 reverse queries to our nameserver # if our forwarders are not ours. <% else -%>