chef-lctp/site-cookbooks/bind/templates/default/zone.erb

13 lines
505 B
Plaintext

; named.conf.options for <%= @node.name %> managed by Chef. Changes will be overwritten.
@ IN SOA <%= @zone_name %> hostmaster (
<%= Time.now.to_i %>
1H ; refresh
4H ; retry
3W ; expire
1D ) ; minimun
NS <%= @node.fqdn %>.
<% @zone.records.each do |record| -%>
<%= record.name %> <%= record.type %> <%= record.value %>
<% end -%>