Do not put our 29.172.in-addr.arpa zone into unbound configs behind fascist firewalls...
[mirror/dsa-puppet.git] / modules / unbound / templates / unbound.conf.erb
index 9276675..7ffc35f 100644 (file)
@@ -48,12 +48,15 @@ server:
        prefetch: yes
        prefetch-key: yes
 
+
+<% if not hiera('firewall_blocks_dns', false) %>
 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
+<% end -%>
 
 # recursive: <%= @is_recursor ? "y" : "n" %>
 <% if not @is_recursor -%>