2014-01-27 08:13:24 +00:00
|
|
|
// named.conf for <%= @node.name %> managed by Chef. Changes will be overwritten.
|
2014-01-19 14:34:01 +00:00
|
|
|
include "/etc/bind/named.conf.options";
|
|
|
|
include "/etc/bind/named.conf.local";
|
|
|
|
include "/etc/bind/named.conf.default-zones";
|
|
|
|
|
|
|
|
<% @node.bind.zones.each do |name, zone| -%>
|
|
|
|
zone <%= name %> IN {
|
|
|
|
type master;
|
2014-01-20 15:10:18 +00:00
|
|
|
file "/etc/bind/<%= name %>";
|
2014-01-19 14:34:01 +00:00
|
|
|
};
|
|
|
|
<% end -%>
|
2014-01-20 15:10:18 +00:00
|
|
|
|