2015-03-30 22:02:32 +00:00
|
|
|
@ IN SOA <%= data["zone"]["soa"] %> <%= data["zone"]["hostmaster"] %> (
|
2015-01-18 18:22:19 +00:00
|
|
|
<%= data["zone"]["serial"] %> ; serial
|
|
|
|
<%= data["zone"]["refresh"] %> ; refresh
|
|
|
|
<%= data["zone"]["retry"] %> ; retry
|
|
|
|
<%= data["zone"]["expire"] %> ; expire
|
|
|
|
<%= data["zone"]["minimum"] %>) ; minimum
|
|
|
|
<% data["network"].each do |name, value| -%>
|
|
|
|
<% if value["ns"] -%>
|
2015-08-05 15:33:37 +00:00
|
|
|
IN NS <%= fqdn(name) %>.<%= data["zone"]["domain"] %>.
|
2015-01-18 18:22:19 +00:00
|
|
|
<% end -%>
|
|
|
|
<% end -%>
|
2014-08-18 08:29:43 +00:00
|
|
|
|
2015-01-30 09:56:58 +00:00
|
|
|
<% zone.pointers do |name, addr| -%>
|
2015-08-05 15:33:37 +00:00
|
|
|
<%= addr %> PTR <%= fqdn(name) %>.<%= data["zone"]["domain"] %>.
|
2014-08-18 08:29:43 +00:00
|
|
|
<% end -%>
|