zones.rfc1918 only affect recursive views

This commit is contained in:
CroneKorkN 2025-08-09 12:46:05 +02:00
parent c41e6f8240
commit 64f869121b
Signed by: cronekorkn
SSH key fingerprint: SHA256:v0410ZKfuO1QHdgKBsdQNF64xmTxOF8osF1LIqwTcVw

View file

@ -29,6 +29,7 @@ view "${view_name}" {
% if view_conf['is_internal']:
recursion yes;
include "/etc/bind/zones.rfc1918";
% else:
recursion no;
rate-limit {
@ -62,8 +63,6 @@ view "${view_name}" {
file "/var/lib/bind/${view_name}/${zone_name}";
};
% endfor
include "/etc/bind/zones.rfc1918";
};
% endfor