From 40d96b09f6cc7a4634406dc230a6d0ad9bd4c811 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Wed, 9 Aug 2023 18:47:24 -0500 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 6bab36df..6072df32 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -523,22 +523,22 @@ UPDATE_DYNDNS(){ [ "${2}" != 'q' ] && echo && echo -en "${idsCL[Green]}${1^} WAN IP has changed, updating records ... " if [ "${1}" == "home" ]; then #external dns - /usr/bin/curl -s "https://${NM_DYNUSER}:${DYNPASS}@wdns.scity.us/nic/update?hostname=sc1.scity.us&myip=${NEWIP}" > /dev/null 2>&1 + /usr/bin/curl -s "https://${NM_DYNUSER}:${DYNPASS}@wdns.scity.us/nic/update?hostname=sc1.scity.us&myip=${NEWIP}" #> /dev/null 2>&1 sleep 1s - /usr/bin/curl -s "https://${NM_DYNUSER}:${DYNPASS}@wdns.scity.us/nic/update?hostname=sc2.scity.us&myip=${NEWIP}" > /dev/null 2>&1 + /usr/bin/curl -s "https://${NM_DYNUSER}:${DYNPASS}@wdns.scity.us/nic/update?hostname=sc2.scity.us&myip=${NEWIP}" #> /dev/null 2>&1 sleep 1s - /usr/bin/curl -s "https://${NM_DYNUSER}:${DYNPASS}@wdns.scity.us/nic/update?hostname=scity.us&myip=${NEWIP}" > /dev/null 2>&1 + /usr/bin/curl -s "https://${NM_DYNUSER}:${DYNPASS}@wdns.scity.us/nic/update?hostname=scity.us&myip=${NEWIP}" #> /dev/null 2>&1 sleep 1s - /usr/bin/curl -s "https://${NM_DYNUSER}:${DYNPASS}@wdns.scity.us/nic/update?hostname=schroedercity.com&myip=${NEWIP}" > /dev/null 2>&1 + /usr/bin/curl -s "https://${NM_DYNUSER}:${DYNPASS}@wdns.scity.us/nic/update?hostname=schroedercity.com&myip=${NEWIP}" #> /dev/null 2>&1 sleep 1s - /usr/bin/curl -s "https://${NM_DYNUSER}:${DYNPASS}@wdns.scity.us/nic/update?hostname=dasrei.com&myip=${NEWIP}" > /dev/null 2>&1 + /usr/bin/curl -s "https://${NM_DYNUSER}:${DYNPASS}@wdns.scity.us/nic/update?hostname=dasrei.com&myip=${NEWIP}" #> /dev/null 2>&1 sleep 1s - /usr/bin/curl -s "https://${NM_DYNUSER}:${DYNPASS}@wdns.scity.us/nic/update?hostname=snsinvest.com&myip=${NEWIP}" > /dev/null 2>&1 + /usr/bin/curl -s "https://${NM_DYNUSER}:${DYNPASS}@wdns.scity.us/nic/update?hostname=snsinvest.com&myip=${NEWIP}" #> /dev/null 2>&1 sleep 1s - /usr/bin/curl -s "https://${NM_DYNUSER}:${DYNPASS}@wdns.scity.us/nic/update?hostname=misfitsmc.com&myip=${NEWIP}" > /dev/null 2>&1 + /usr/bin/curl -s "https://${NM_DYNUSER}:${DYNPASS}@wdns.scity.us/nic/update?hostname=misfitsmc.com&myip=${NEWIP}" #> /dev/null 2>&1 sleep 1s #internal dns - /usr/bin/curl -s "https://${NM_DYNUSER}:${DYNPASS}@dns.scity.us/nic/update?hostname=sc1.scity.us&myip=${NEWIP}" > /dev/null 2>&1 + /usr/bin/curl -s "https://${NM_DYNUSER}:${DYNPASS}@dns.scity.us/nic/update?hostname=sc1.scity.us&myip=${NEWIP}" #> /dev/null 2>&1 elif [ "${1}" == "offsite" ]; then #external dns