X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Funbound%2Ftemplates%2Funbound.conf.erb;h=8e06b7df09a2baaeb1adb2d2008785440e0b3f10;hb=a222a39413e27c219d4e6d5180d026d7fd1fc8d3;hp=4f0160303bf8dcc044786b9083b1f843f7e0be42;hpb=ebb4ff839f4767e2c8ccec0cd0334109f042cd07;p=mirror%2Fdsa-puppet.git diff --git a/modules/unbound/templates/unbound.conf.erb b/modules/unbound/templates/unbound.conf.erb index 4f0160303..8e06b7df0 100644 --- a/modules/unbound/templates/unbound.conf.erb +++ b/modules/unbound/templates/unbound.conf.erb @@ -45,6 +45,13 @@ server: auto-trust-anchor-file: "/var/lib/unbound/debian.org.key" auto-trust-anchor-file: "/var/lib/unbound/29.172.in-addr.arpa.key" +local-zone: "29.172.in-addr.arpa" nodefault +forward-zone: + name: "29.172.in-addr.arpa" + forward-host: geo1.debian.org + forward-host: geo2.debian.org + forward-host: geo3.debian.org + # recursive: <%= @is_recursor ? "y" : "n" %> <% if not @is_recursor -%> forward-zone: @@ -57,15 +64,4 @@ forward-zone: # previously, forward-first was not implemented for the root zone. forward-first: yes <% end -%> - -# XXX : we probably ought to forward 172.29 reverse queries to our nameserver -# if our forwarders are not ours. -<% else -%> -local-zone: "29.172.in-addr.arpa" nodefault -forward-zone: - name: "29.172.in-addr.arpa" - forward-host: ns1.debian.org - forward-host: ns2.debian.org - forward-host: ns3.debian.org - forward-host: ns4.debian.com <% end -%>