Update nodemgmt-scripts.sh
This commit is contained in:
@@ -534,7 +534,7 @@ UPDATE_DYNDNS(){
|
||||
if [ "${NM_DYNUSER}" != "" ] && [ "${NM_DYNPASS}" != "" ]; then
|
||||
if [ "$(/usr/bin/curl -m 3 -s "https://${NM_DYNUSER}:${NM_DYNPASS}@wdns.scity.us/nic/update")" != "" ]; then
|
||||
for host in ${DYNDNS_HOSTS[@]}; do
|
||||
echo "update host: $host"
|
||||
/usr/bin/curl -s "https://${NM_DYNUSER}:${NM_DYNPASS}@wdns.scity.us/nic/update?hostname=${host}&myip=${NEWIP}" > /dev/null 2>&1
|
||||
done
|
||||
# if [ "${LOCATION,,}" == "mainsite" ]; then
|
||||
# #external dns
|
||||
|
||||
Reference in New Issue
Block a user