Update dsmon.sh
This commit is contained in:
2
dsmon.sh
2
dsmon.sh
@@ -360,7 +360,7 @@ GETTSIP_NODE(){
|
||||
([ "${hostname}" == "" ] || [[ "${hostname}" != *".scity"* ]]) && hostname=$(hostname) && hostname="${hostname,,}.ts.scity.us" || hostname=${hostname/.scity/.ts.scity}
|
||||
echo "Tailscale running, TSIP: ${TSIP}"
|
||||
echo -en "Updating DNS for '${hostname}' ... "
|
||||
dyndns=$(/usr/bin/curl -s "https://systems:Dcs9613@dns.scity.us/nic/update?hostname=${hostname}&myip=${TSIP}")
|
||||
dyndns=$(/usr/bin/curl -s "https://systems:Dcs9613@ldns.scity.us/nic/update?hostname=${hostname}&myip=${TSIP}")
|
||||
echo "Done (${dyndns})"
|
||||
else
|
||||
echo "Not running Tailscale"
|
||||
|
||||
Reference in New Issue
Block a user