Update nodemgmt-scripts.sh

This commit is contained in:
2022-07-04 14:40:06 -05:00
parent 5379f1d4ec
commit 94e4d3f30f

View File

@@ -1748,6 +1748,8 @@ UPDATE_DYNDNS(){
/usr/bin/curl -s "https://systems:Dcs9613@pdns.scity.us/nic/update?hostname=dasrei.com&myip=${NEWIP}" > /dev/null 2>&1
/usr/bin/curl -s "https://systems:Dcs9613@pdns.scity.us/nic/update?hostname=snsinvest.com&myip=${NEWIP}" > /dev/null 2>&1
/usr/bin/curl -s "https://systems:Dcs9613@pdns.scity.us/nic/update?hostname=misfitsmc.com&myip=${NEWIP}" > /dev/null 2>&1
if [ "${STATUS_CHECK_EMAIL}" != "" ]; then echo "DYNDNS Updated" | mail -s "`hostname` (`hostname -I`) sent update" ${STATUS_CHECK_EMAIL}; fi
if [ "${1}" != 'q' ]; then
echo -e "${idsCL[Green]}Done${idsCL[Default]}"