From 8d5f3117bcabc0f1fe5cd7bcb15d95398abb6adb Mon Sep 17 00:00:00 2001 From: casjay Date: Tue, 20 May 2025 12:28:59 -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, 2 insertions(+), 2 deletions(-) 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 c5d5027..26be149 100755 --- a/rootfs/usr/local/etc/docker/init.d/02-named.sh +++ b/rootfs/usr/local/etc/docker/init.d/02-named.sh @@ -367,7 +367,7 @@ EOF domain_name="$(basename "${dns_file%.*}")" main_server="$(grep -sh 'masters ' "$dns_file" | sed 's/^[ \t]*//' || echo "masters { $DNS_REMOTE_SERVER:-$DNS_SERVER_PRIMARY"); };" if [ -n "$domain_name" ]; then - cat <>"$TMP_DIR/$file_name" + cat <>"$TMP_DIR/$file_name" # ********** begin $domain_name ********** zone "$domain_name" { type slave; @@ -381,7 +381,7 @@ EOF if named-checkzone -q $domain_name "$TMP_DIR/$file_name"; then cat "$TMP_DIR/$file_name" >>"$DNS_ZONE_FILE" else - echo "Checking $domain_name has failed" | tee -a "$LOG_DIR/init.txt" >&2 + echo "Checking zone $domain_name has failed" | tee -a "$LOG_DIR/init.txt" >&2 fi rm "$TMP_DIR/$file_name" grep -qs "$domain_name" "$DNS_ZONE_FILE" && echo "Secondary $domain_name to $DNS_ZONE_FILE"