commit
8553131613
@ -1,9 +1,9 @@
|
|||||||
$TTL 86400
|
$TTL 86400
|
||||||
@ IN SOA localhost. root.localhost. (
|
@ IN SOA localhost. root.localhost. (
|
||||||
1 ; Serial
|
1 ; Serial
|
||||||
604800 ; Refresh
|
60 ; Refresh
|
||||||
86400 ; Retry
|
30 ; Retry
|
||||||
2419200 ; Expire
|
300 ; Expire
|
||||||
86400 ) ; Negative Cache TTL
|
10 ) ; Negative Cache TTL
|
||||||
;
|
;
|
||||||
@ IN NS localhost.
|
@ IN NS localhost.
|
||||||
|
|||||||
@ -14,7 +14,9 @@ zone "<%= @_domain %>" {
|
|||||||
<%- else -%>
|
<%- else -%>
|
||||||
file "<%= @cachedir %>/<%= @name %>/<%= @_domain %>";
|
file "<%= @cachedir %>/<%= @name %>/<%= @_domain %>";
|
||||||
<%- end -%>
|
<%- end -%>
|
||||||
|
<%- unless @zone_type == 'stub' -%>
|
||||||
notify <%= @ns_notify ? 'yes' : 'no' %>;
|
notify <%= @ns_notify ? 'yes' : 'no' %>;
|
||||||
|
<%- end -%>
|
||||||
<%- if @also_notify and @also_notify != '' -%>
|
<%- if @also_notify and @also_notify != '' -%>
|
||||||
also-notify {
|
also-notify {
|
||||||
<%- Array(@also_notify).each do |server| -%>
|
<%- Array(@also_notify).each do |server| -%>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user