Put notification stuff are zonefile related and interfere with forward zones

This commit is contained in:
Nate Riffe 2012-10-06 15:51:05 -05:00
parent 26b43b3169
commit 474b6f6967

View File

@ -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 %>;