Update nodemgmt-scripts.sh

This commit is contained in:
2022-04-07 16:14:14 -05:00
parent ba0642b16e
commit 25dbc45096

View File

@@ -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