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

12 lines
416 B
Plaintext

@ 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 -%>