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 **********