From 5400df94eda15f1117589ee9a18cedb9828e8267 Mon Sep 17 00:00:00 2001 From: mwiegand Date: Sun, 7 Nov 2021 12:07:08 +0100 Subject: [PATCH] wip --- bundles/bind/files/named.conf.local | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundles/bind/files/named.conf.local b/bundles/bind/files/named.conf.local index 57c5def..80fe5ce 100644 --- a/bundles/bind/files/named.conf.local +++ b/bundles/bind/files/named.conf.local @@ -45,7 +45,7 @@ view "${view_name}" { % if type == 'slave': masters { ${master_ip}; }; % endif - % if type == 'master' and zone in keys: + % if type == 'master' and f'{view_name}.{zone}' in view_conf['keys']: allow-update { key "${zone}"; }; % endif file "/var/lib/bind/${view_name}/db.${zone}";