From 5980cfdafb29b72e35312c421b43aa40e490450f Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Sun, 21 Apr 2024 17:57:21 +0200 Subject: [PATCH] Fix path to secondary zone files --- nsconfig/daemon/bind.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nsconfig/daemon/bind.py b/nsconfig/daemon/bind.py index 24a24fc..e6a59b8 100644 --- a/nsconfig/daemon/bind.py +++ b/nsconfig/daemon/bind.py @@ -29,7 +29,7 @@ class NscDaemonBind(NscDaemon): file.write(f'\tfile "{z.zone_file}";\n') elif isinstance(z, NscZoneSecondary): file.write('\ttype slave;\n') - file.write(f'\tfile "zone/{z.secondary_file}";\n') + file.write(f'\tfile "{z.secondary_file}";\n') file.write(f'\tmasters {{ {z.primary_server}; }};\n') else: raise NotImplementedError() -- 2.39.5