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:
parent
309ac6c3ae
commit
6236ad7167
@ -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 {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user