Skip to content

Commit

Permalink
adds support for send_cookie
Browse files Browse the repository at this point in the history
  • Loading branch information
ncode committed Aug 14, 2019
1 parent a5e00f5 commit 8b5af1d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
$server_id = false,
$max_ncache_ttl = undef,
$ixfr_from_differences = undef,
$send_cookie = undef,
# NOTE: we need to be able to override this parameter when declaring class,
# especially when not using hiera (i.e. when using Foreman as ENC):
$default_zones_include = $::bind::defaults::default_zones_include,
Expand Down
3 changes: 3 additions & 0 deletions templates/named.conf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ options {
<%- if @min_refresh_time -%>
min-refresh-time <%= @min_refresh_time %>;
<%- end -%>
<%- if @send_cookie -%>
send-cookie <%= @send_cookie ? 'yes' : 'no' %>;
<%- end -%>
<%- if @max_retry_time -%>
max-retry-time <%= @max_retry_time %>;
<%- end -%>
Expand Down

0 comments on commit 8b5af1d

Please sign in to comment.