store nameserver seperate
This commit is contained in:
parent
7833908e0d
commit
1c6513c6b5
@ -8,10 +8,8 @@ $TTL <%= data["zone"]["ttl"] %>
|
|||||||
<%= data["zone"]["retry"] %> ; retry
|
<%= data["zone"]["retry"] %> ; retry
|
||||||
<%= data["zone"]["expire"] %> ; expire
|
<%= data["zone"]["expire"] %> ; expire
|
||||||
<%= data["zone"]["minimum"] %>) ; minimum
|
<%= data["zone"]["minimum"] %>) ; minimum
|
||||||
<% data["network"].each do |name, value| -%>
|
<% data["zone"]["ns"].each do |name, value| -%>
|
||||||
<% if value["ns"] -%>
|
NS <%= name %>.
|
||||||
IN NS <%= name %>.
|
|
||||||
<% end -%>
|
|
||||||
<% end -%>
|
<% end -%>
|
||||||
|
|
||||||
<% if data["zone"]["a"] -%>
|
<% if data["zone"]["a"] -%>
|
||||||
|
@ -4,10 +4,8 @@
|
|||||||
<%= data["zone"]["retry"] %> ; retry
|
<%= data["zone"]["retry"] %> ; retry
|
||||||
<%= data["zone"]["expire"] %> ; expire
|
<%= data["zone"]["expire"] %> ; expire
|
||||||
<%= data["zone"]["minimum"] %>) ; minimum
|
<%= data["zone"]["minimum"] %>) ; minimum
|
||||||
<% data["network"].each do |name, value| -%>
|
<% data["zone"]["ns"].each do |name, value| -%>
|
||||||
<% if value["ns"] -%>
|
NS <%= name %>.
|
||||||
IN NS <%= name %>.
|
|
||||||
<% end -%>
|
|
||||||
<% end -%>
|
<% end -%>
|
||||||
|
|
||||||
<% zone.pointers do |name, addr| -%>
|
<% zone.pointers do |name, addr| -%>
|
||||||
|
Loading…
Reference in New Issue
Block a user