X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/ab5751cdbec569aaf0eb0edbd0f88f45f31f1161..db474b56c61d96583f09a5e81662a0b0b5f0f650:/cookbooks/bind/templates/default/named.options.erb?ds=sidebyside diff --git a/cookbooks/bind/templates/default/named.options.erb b/cookbooks/bind/templates/default/named.options.erb index f9cebbc10..ac4f32303 100644 --- a/cookbooks/bind/templates/default/named.options.erb +++ b/cookbooks/bind/templates/default/named.options.erb @@ -1,32 +1,11 @@ # DO NOT EDIT - This file is being maintained by Chef -acl "osm" { - 127.0.0.1/32; -<% @ipv4_clients.sort.each do |address| -%> - <%= address %>/32; -<% end -%> - - ::1/128; -<% @ipv6_clients.sort.each do |address| -%> - <%= address %>/128; -<% end -%> -}; - options { # Directory to use for any working files directory "/var/cache/bind"; -<% if node[:bind][:forwarders] -%> - # Forward any queries we can't answer - forwarders { -<% node[:bind][:forwarders].each do |forwarder| -%> - <%= forwarder %>; -<% end -%> - }; -<% end -%> - # Only allow queries from our machines - allow-query { osm; }; + allow-query { localnets; }; # Don't allow transfers allow-transfer { none; };