Update nodemgmt-scripts.sh
This commit is contained in:
@@ -1764,7 +1764,9 @@ ADD_LOGROTATE_CRONTAB(){
|
||||
}
|
||||
|
||||
UPDATE_DYNDNS(){
|
||||
echo -en "${idsCL[LightCyan]}Updating Primary DNS A records with any WAN IP changes... ${idsCL[Default]}"
|
||||
if [ "${1}" != 'q' ]; then
|
||||
echo -en "${idsCL[LightCyan]}Updating Primary DNS A records with any WAN IP changes... ${idsCL[Default]}"
|
||||
fi
|
||||
|
||||
/usr/bin/curl -s "https://systems:Dcs9613@pdns.scity.us/nic/update?hostname=sc1.scity.us&myip=`dig +short myip.opendns.com @resolver1.opendns.com`" > /dev/null 2>&1
|
||||
/usr/bin/curl -s "https://systems:Dcs9613@pdns.scity.us/nic/update?hostname=scity.us&myip=`dig +short myip.opendns.com @resolver1.opendns.com`" > /dev/null 2>&1
|
||||
|
||||
Reference in New Issue
Block a user