Update nodemgmt-scripts.sh
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user