From 2147b74875aea5eb7b50960d7db6c8d7ae7a50cf Mon Sep 17 00:00:00 2001 From: casjay Date: Sun, 22 Sep 2024 16:49:15 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=97=83=EF=B8=8F=20Committing=20everything?= =?UTF-8?q?=20that=20changed=20=F0=9F=97=83=EF=B8=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit rootfs/usr/local/etc/docker/init.d/02-named.sh --- rootfs/usr/local/etc/docker/init.d/02-named.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/rootfs/usr/local/etc/docker/init.d/02-named.sh b/rootfs/usr/local/etc/docker/init.d/02-named.sh index b24bf85..033218a 100755 --- a/rootfs/usr/local/etc/docker/init.d/02-named.sh +++ b/rootfs/usr/local/etc/docker/init.d/02-named.sh @@ -337,8 +337,10 @@ zone "$domain_name" { type master; notify yes; also-notify { $DNS_SERVER_SECONDARY; }; + update-policy { grant ddns-key zonesub ANY; }; allow-transfer { any; key "backup-key"; trusted; }; - allow-update {key "certbot."; key "dhcp-key"; trusted; }; + allow-update {key "certbot."; key "dhcp-key"; trusted; key "ddns-key" }; + file "$VAR_DIR/primary/$file_name"; }; # ********** end $domain_name **********