X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fnamed%2Ftemplates%2Fnamed.conf.options.erb;h=f5e5b39045d6a159cdde72e61b2e1136e06f31c2;hb=52ab75241aa59786d9cf7af14dc99c8ee1641483;hp=a372fc96441e0425dca8d1672f42a6207bb3cfbb;hpb=00b716768919d3293c434c5ad64084be81123321;p=mirror%2Fdsa-puppet.git diff --git a/modules/named/templates/named.conf.options.erb b/modules/named/templates/named.conf.options.erb index a372fc964..f5e5b3904 100644 --- a/modules/named/templates/named.conf.options.erb +++ b/modules/named/templates/named.conf.options.erb @@ -43,7 +43,7 @@ options { dnssec-validation yes; <% end -%> -<% if %w{senfl ravel orff diamond}.include?(hostname) -%> +<% if %w{senfl ravel orff diamond rietz}.include?(hostname) -%> rate-limit { responses-per-second 25; window 5; @@ -70,3 +70,6 @@ logging { }; +<% if classes.include?('named::authoritative') -%> +include "/etc/bind/named.conf.puppet-shared-keys"; +<% end -%>