Allow 'explicit' zone notification

Allow the 'explicit' value of a zones notify config to be set as well as yes/no.
This commit is contained in:
Tom Ford 2016-06-29 16:31:32 +01:00 committed by GitHub
parent 309ac6c3ae
commit 6236ad7167

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 {