add logic to prevent the notify option being included in the zone file for stub zones

This commit is contained in:
Trevor Smith 2015-03-19 13:39:04 -04:00
parent 80e3e6e55c
commit 015f7174cc

View File

@ -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 {