Merge pull request #93 from exptom/allow-explicit-notify

Allow 'explicit' zone notification
This commit is contained in:
Nate Riffe 2016-07-04 09:51:49 -05:00 committed by GitHub
commit b26915de54

View File

@ -14,7 +14,11 @@ zone "<%= @_domain %>" {
file "<%= @cachedir %>/<%= @name %>/<%= @zone_file %>";
<%- end -%>
<%- if %w(master slave).include? @zone_type -%>
<%- if (@ns_notify == 'explicit') -%>
notify explicit;
<%- else -%>
notify <%= @ns_notify ? 'yes' : 'no' %>;
<%- end -%>
<%- end -%>
<%- if @also_notify and @also_notify != '' -%>
also-notify {