diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index bc7874da..08b91af9 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -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