From b281cf4b204ae9dc53d0bc327df20d07fd493fb8 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 26 Sep 2024 17:59:33 +0200 Subject: [PATCH] Update AAAA records --- multiupdater.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/multiupdater.sh b/multiupdater.sh index 04beddb..0608130 100755 --- a/multiupdater.sh +++ b/multiupdater.sh @@ -9,7 +9,9 @@ if [ ! -z ${reason} ]; then echo "Updating AAAA record for companioncu.be to $IPV6" echo " update delete companioncu.be. AAAA + update delete *.companioncu.be. AAAA update add companioncu.be. 10 AAAA $IPV6 + update add *.companioncu.be. 10 AAAA $IPV6 send " | nsupdate -k $KEY ;; @@ -22,7 +24,9 @@ else #TODO: come up with some sanity-check for pppd echo "Updating A record for companioncu.be to $IPV4" echo " update delete companioncu.be. A + update delete *.companioncu.be. A update add companioncu.be. 10 A $IPV4 + update add *.companioncu.be. 10 A $IPV4 send " | nsupdate -k $KEY @@ -40,5 +44,3 @@ else #TODO: come up with some sanity-check for pppd done /etc/init.d/iptables restart fi - -