1 # DO NOT EDIT - This file is being maintained by Chef
5 <% node.interfaces(:family => :inet).each do |interface| -%>
6 <%= interface[:network] %>/<%= interface[:prefix] %>;
10 <% node.interfaces(:family => :inet6).each do |interface| -%>
11 <%= interface[:network] %>/<%= interface[:prefix] %>;
16 # Directory to use for any working files
17 directory "/var/cache/bind";
19 <% if node[:bind][:forwarders] -%>
20 # Forward any queries we can't answer
22 <% node[:bind][:forwarders].each do |forwarder| -%>
28 # Only allow queries from our machines
31 # Don't allow transfers
32 allow-transfer { none; };
34 # Listen on any IPv6 interfaces
35 listen-on-v6 { any; };