X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=modules%2Funbound%2Ftemplates%2Funbound.conf.erb;fp=modules%2Funbound%2Ftemplates%2Funbound.conf.erb;h=e72514a07d0669930c640cc6247599b7e8bb2791;hb=15c12f47247dca5784c4a446889f73a46ebca680;hp=b3c634bb46b851e61d8f98822e47429b3548da9f;hpb=e0b277eaeb6f6117f0c5fea0557341e8879b33e8;p=dsa-puppet.git 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 -%>