File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 5858 $response_policy_zones = []
5959 $forward_policy = undef
6060 $listen_on_port = undef
61+ $max_udp_size = undef
6162 $transfers = []
6263 $allow_recursion = []
6364 $allow_query = []
Original file line number Diff line number Diff line change 2525 Array[String] $allow_recursion = $dns::config::params::allow_recursion,
2626 Array[String] $allow_query = $dns::config::params::allow_query,
2727
28- Optional[Integer] $max_udp_size = undef ,
28+ Optional[Integer] $max_udp_size = $dns::config::params::max_udp_size ,
2929
3030 Optional[String] $zone_notify = $dns::config::params::zone_notify,
3131 Optional[Array[String]] $also_notify = $dns::config::params::also_notify,
Original file line number Diff line number Diff line change @@ -75,6 +75,10 @@ options {
7575<% if @listen_on_port -%>
7676 port <%= @listen_on_port %> ;
7777
78+ <% end -%>
79+ <% if @max_udp_size -%>
80+ max-udp-size <%= @max_udp_size %> ;
81+
7882<% end -%>
7983<% unless @allow_recursion.empty? -%>
8084 allow-recursion {
@@ -165,11 +169,6 @@ controls {
165169 inet <%= @control_channel_ip %> port <%= @control_channel_port %> <% if @control_channel_allow -%> allow { <%= @control_channel_allow.join('; ') %> ; }<% end -%> ;
166170};
167171<% end -%>
168-
169- <% if @udp_max_size -%>
170- udp-max-size <%= @udp_max_size %> ;
171-
172- <% end -%>
173172<% if @query_log_enable -%>
174173logging {
175174
You can’t perform that action at this time.
0 commit comments