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"]["expire"] %> ; expire
|
||||
<%= data["zone"]["minimum"] %>) ; minimum
|
||||
<% data["network"].each do |name, value| -%>
|
||||
<% if value["ns"] -%>
|
||||
IN NS <%= name %>.
|
||||
<% end -%>
|
||||
<% data["zone"]["ns"].each do |name, value| -%>
|
||||
NS <%= name %>.
|
||||
<% end -%>
|
||||
|
||||
<% if data["zone"]["a"] -%>
|
||||
|
@ -4,10 +4,8 @@
|
||||
<%= data["zone"]["retry"] %> ; retry
|
||||
<%= data["zone"]["expire"] %> ; expire
|
||||
<%= data["zone"]["minimum"] %>) ; minimum
|
||||
<% data["network"].each do |name, value| -%>
|
||||
<% if value["ns"] -%>
|
||||
IN NS <%= name %>.
|
||||
<% end -%>
|
||||
<% data["zone"]["ns"].each do |name, value| -%>
|
||||
NS <%= name %>.
|
||||
<% end -%>
|
||||
|
||||
<% zone.pointers do |name, addr| -%>
|
||||
|
Loading…
Reference in New Issue
Block a user