X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Funbound%2Ftemplates%2Funbound.conf.erb;h=e72514a07d0669930c640cc6247599b7e8bb2791;hb=63519a744307c2b8b063fb51002f48326a162d9a;hp=080bf9516e7f15b8469d97fce9673b3b1157d589;hpb=ba4f3445de0a6052344f998cb29f38d525a52bdc;p=mirror%2Fdsa-puppet.git diff --git a/modules/unbound/templates/unbound.conf.erb b/modules/unbound/templates/unbound.conf.erb index 080bf9516..e72514a07 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 -%> @@ -63,6 +67,3 @@ forward-zone: forward-host: ns3.debian.org forward-host: ns4.debian.com <% end -%> -<% if hostname == "zappa" -%> -edns-buffer-size: 512 -<% end -%>