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";
|
file "<%= cachedir %>/<%= name %>/<%= _domain %>.signed";
|
||||||
<%- else -%>
|
<%- else -%>
|
||||||
file "<%= cachedir %>/<%= name %>/<%= _domain %>";
|
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 -%>
|
||||||
<%- end -%>
|
<%- end -%>
|
||||||
<%- if not masters.empty? -%>
|
<%- if not masters.empty? -%>
|
||||||
@ -31,21 +46,6 @@ zone "<%= _domain %>" {
|
|||||||
<%= allow_transfer %>;
|
<%= allow_transfer %>;
|
||||||
<%- end -%>
|
<%- 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 -%>
|
<%- end -%>
|
||||||
<%- if forward != '' -%>
|
<%- if forward != '' -%>
|
||||||
forward <%= forward %>;
|
forward <%= forward %>;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user