X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Funbound%2Ftemplates%2Funbound.conf.erb;h=2caa955017f23173fe9e513bd0fba3057175710d;hb=80855c3f3ff26aecae129895f476fab05e109f9d;hp=8e06b7df09a2baaeb1adb2d2008785440e0b3f10;hpb=dbdec8e212367f13025857ddffca6ed8b8c14fa3;p=mirror%2Fdsa-puppet.git diff --git a/modules/unbound/templates/unbound.conf.erb b/modules/unbound/templates/unbound.conf.erb index 8e06b7df0..2caa95501 100644 --- a/modules/unbound/templates/unbound.conf.erb +++ b/modules/unbound/templates/unbound.conf.erb @@ -45,6 +45,9 @@ server: auto-trust-anchor-file: "/var/lib/unbound/debian.org.key" auto-trust-anchor-file: "/var/lib/unbound/29.172.in-addr.arpa.key" + prefetch: yes + prefetch-key: yes + local-zone: "29.172.in-addr.arpa" nodefault forward-zone: name: "29.172.in-addr.arpa" @@ -59,9 +62,7 @@ forward-zone: <% @ns.to_a.flatten.each do |nms| -%> forward-addr: <%= nms %> <% end -%> -<% if @lsbmajdistrelease >= '7' -%> # This will actually only work starting with unbound 1.4.18 (wheezy has 1.4.17) # previously, forward-first was not implemented for the root zone. forward-first: yes <% end -%> -<% end -%>