Put notification stuff are zonefile related and interfere with forward zones
This commit is contained in:
parent
26b43b3169
commit
474b6f6967
@ -9,6 +9,21 @@ zone "<%= _domain %>" {
|
||||
file "<%= cachedir %>/<%= name %>/<%= _domain %>.signed";
|
||||
<%- else -%>
|
||||
file "<%= cachedir %>/<%= name %>/<%= _domain %>";
|
||||
<%- end -%>
|
||||
notify <%= ns_notify ? 'yes' : 'no' %>;
|
||||
<%- if not also_notify.empty? -%>
|
||||
also-notify {
|
||||
<%- also_notify.each do |server| -%>
|
||||
<%= server %>;
|
||||
<%- end -%>
|
||||
};
|
||||
<%- end -%>
|
||||
<%- if not allow_notify.empty? -%>
|
||||
allow-notify {
|
||||
<%- allow_notify.each do |server| -%>
|
||||
<%= server %>;
|
||||
<%- end -%>
|
||||
};
|
||||
<%- end -%>
|
||||
<%- end -%>
|
||||
<%- if not masters.empty? -%>
|
||||
@ -31,21 +46,6 @@ zone "<%= _domain %>" {
|
||||
<%= allow_transfer %>;
|
||||
<%- end -%>
|
||||
};
|
||||
<%- end -%>
|
||||
notify <%= ns_notify ? 'yes' : 'no' %>;
|
||||
<%- if not also_notify.empty? -%>
|
||||
also-notify {
|
||||
<%- also_notify.each do |server| -%>
|
||||
<%= server %>;
|
||||
<%- end -%>
|
||||
};
|
||||
<%- end -%>
|
||||
<%- if not allow_notify.empty? -%>
|
||||
allow-notify {
|
||||
<%- allow_notify.each do |server| -%>
|
||||
<%= server %>;
|
||||
<%- end -%>
|
||||
};
|
||||
<%- end -%>
|
||||
<%- if forward != '' -%>
|
||||
forward <%= forward %>;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user