add logic to prevent the notify option being included in the zone file for stub zones
This commit is contained in:
parent
80e3e6e55c
commit
015f7174cc
@ -14,6 +14,7 @@ zone "<%= @_domain %>" {
|
||||
<%- else -%>
|
||||
file "<%= @cachedir %>/<%= @name %>/<%= @_domain %>";
|
||||
<%- end -%>
|
||||
<%- unless @zone_type == 'stub' -%>
|
||||
notify <%= @ns_notify ? 'yes' : 'no' %>;
|
||||
<%- if @also_notify and @also_notify != '' -%>
|
||||
also-notify {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user