diff --git a/files/db.empty b/files/db.empty index ae446f5..e0c5f90 100644 --- a/files/db.empty +++ b/files/db.empty @@ -1,9 +1,9 @@ $TTL 86400 @ IN SOA localhost. root.localhost. ( 1 ; Serial - 604800 ; Refresh - 86400 ; Retry - 2419200 ; Expire - 86400 ) ; Negative Cache TTL + 60 ; Refresh + 30 ; Retry + 300 ; Expire + 10 ) ; Negative Cache TTL ; @ IN NS localhost. diff --git a/templates/zone.conf.erb b/templates/zone.conf.erb index 207bf68..98a4fcf 100644 --- a/templates/zone.conf.erb +++ b/templates/zone.conf.erb @@ -14,7 +14,9 @@ zone "<%= @_domain %>" { <%- else -%> file "<%= @cachedir %>/<%= @name %>/<%= @_domain %>"; <%- end -%> +<%- unless @zone_type == 'stub' -%> notify <%= @ns_notify ? 'yes' : 'no' %>; +<%- end -%> <%- if @also_notify and @also_notify != '' -%> also-notify { <%- Array(@also_notify).each do |server| -%>