From 64f869121b6f83a49b628d1433eb3b9ae2fc5417 Mon Sep 17 00:00:00 2001 From: CroneKorkN Date: Sat, 9 Aug 2025 12:46:05 +0200 Subject: [PATCH] zones.rfc1918 only affect recursive views --- bundles/bind/files/named.conf.local | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bundles/bind/files/named.conf.local b/bundles/bind/files/named.conf.local index 0cda3c8..271b502 100644 --- a/bundles/bind/files/named.conf.local +++ b/bundles/bind/files/named.conf.local @@ -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