From 44b3f8283100c6206c690b99bd72568385e54913 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Wed, 15 Nov 2023 08:30:42 -0600 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index c24186bd..5a9e8d52 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -534,7 +534,7 @@ UPDATE_DYNDNS(){ if [ "${NM_DYNUSER}" != "" ] && [ "${NM_DYNPASS}" != "" ]; then if [ "$(/usr/bin/curl -m 3 -s "https://${NM_DYNUSER}:${NM_DYNPASS}@wdns.scity.us/nic/update")" != "" ]; then for host in ${DYNDNS_HOSTS[@]}; do - echo "update host: $host" + /usr/bin/curl -s "https://${NM_DYNUSER}:${NM_DYNPASS}@wdns.scity.us/nic/update?hostname=${host}&myip=${NEWIP}" > /dev/null 2>&1 done # if [ "${LOCATION,,}" == "mainsite" ]; then # #external dns