Skip to content

Commit ef3b6c9

Browse files
committed
adds max ncache ttl
1 parent 91af30c commit ef3b6c9

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

manifests/init.pp

+1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
$request_ixfr = undef,
2727
$serial_query_rate = undef,
2828
$server_id = false,
29+
$max_ncache_ttl = undef,
2930
# NOTE: we need to be able to override this parameter when declaring class,
3031
# especially when not using hiera (i.e. when using Foreman as ENC):
3132
$default_zones_include = $::bind::defaults::default_zones_include,

templates/named.conf.erb

+3
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@ options {
5555
<%- end -%>
5656
<%- if @min_retry_time -%>
5757
min-retry-time <%= @min_retry_time %>;
58+
<%- end -%>
59+
<%- if @max_ncache_ttl -%>
60+
max-ncache-ttl <%= @max_ncache_ttl %>;
5861
<%- end -%>
5962
auth-nxdomain <%= @auth_nxdomain ? 'yes' : 'no' %>;
6063
listen-on-v6 { any; };

0 commit comments

Comments
 (0)