Update nodemgmt-scripts.sh

This commit is contained in:
2025-05-26 22:28:18 -05:00
parent dee1ce1ab8
commit 4ec0d70521

View File

@@ -499,7 +499,7 @@ UPDATE_DYNDNS(){
echo -en "${idsCL[White]}Current WAN IP : ";
NEWIP="$(dig +short myip.opendns.com @resolver1.opendns.com)" >/dev/null 2>&1
if [ "${NEWIP}" == "" ]; then
NEWIP="$(curl https://ipinfo.io/ip)" >/dev/null 2>&1
NEWIP="$(wget -qO- https://ipinfo.io/ip ; echo)" >/dev/null 2>&1
if [ "${NEWIP}" == "" ]; then
NEWIP="$(wget -qO- https://ipecho.net/plain ; echo)" >/dev/null 2>&1
else