Merge pull request #93 from exptom/allow-explicit-notify
Allow 'explicit' zone notification
This commit is contained in:
commit
b26915de54
@ -14,7 +14,11 @@ zone "<%= @_domain %>" {
|
|||||||
file "<%= @cachedir %>/<%= @name %>/<%= @zone_file %>";
|
file "<%= @cachedir %>/<%= @name %>/<%= @zone_file %>";
|
||||||
<%- end -%>
|
<%- end -%>
|
||||||
<%- if %w(master slave).include? @zone_type -%>
|
<%- if %w(master slave).include? @zone_type -%>
|
||||||
|
<%- if (@ns_notify == 'explicit') -%>
|
||||||
|
notify explicit;
|
||||||
|
<%- else -%>
|
||||||
notify <%= @ns_notify ? 'yes' : 'no' %>;
|
notify <%= @ns_notify ? 'yes' : 'no' %>;
|
||||||
|
<%- end -%>
|
||||||
<%- end -%>
|
<%- end -%>
|
||||||
<%- if @also_notify and @also_notify != '' -%>
|
<%- if @also_notify and @also_notify != '' -%>
|
||||||
also-notify {
|
also-notify {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user