1 # DO NOT EDIT - This file is being maintained by Chef
5 <% node.interfaces(:family => :inet).each do |interface| -%>
6 <%= interface[:network] %>/<%= interface[:prefix] %>;
8 <% @ipv4_clients.sort.each do |address| -%>
13 <% node.interfaces(:family => :inet6).each do |interface| -%>
14 <%= interface[:network] %>/<%= interface[:prefix] %>;
16 <% @ipv6_clients.sort.each do |address| -%>
22 # Directory to use for any working files
23 directory "/var/cache/bind";
25 <% if node[:bind][:forwarders] -%>
26 # Forward any queries we can't answer
28 <% node[:bind][:forwarders].each do |forwarder| -%>
34 # Only allow queries from our machines
37 # Don't allow transfers
38 allow-transfer { none; };
40 # Listen on any IPv6 interfaces
41 listen-on-v6 { any; };