Update nodemgmt-scripts.sh

This commit is contained in:
2022-07-04 15:04:58 -05:00
parent 560271a7cf
commit 05488d003b

View File

@@ -1737,7 +1737,7 @@ UPDATE_DYNDNS(){
echo -e "${idsCL[LightCyan]}Updating Primary DNS A records with any WAN IP changes... ${idsCL[Default]}"
fi
OLDIP=`dig +short sc2.scity.us @ns1.scity.us`
OLDIP=`dig +short sc1.scity.us @ns1.scity.us`
NEWIP=`dig +short myip.opendns.com @resolver1.opendns.com`
if [ "${OLDIP}" != "${NEWIP}" ]; then