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

14 lines
467 B
Plaintext
Raw Normal View History

2014-01-19 14:34:01 +00:00
@ IN SOA <%= @zone_name %> hostmaster (
<%= Time.now.to_i %>
1H ; refresh
4H ; retry
3W ; expire
1D ) ; minimun
2014-01-20 15:10:18 +00:00
NS <%= @node.hostname %>
<%= @node.hostname %> A <%= @node.ipaddress %>
2014-01-19 14:34:01 +00:00
<% @zone.records.each do |record| -%>
2014-01-20 15:10:18 +00:00
<%= record.name %> <%= record.type %> <%= record.value %>
2014-01-19 14:34:01 +00:00
<% end -%>