**Dies ist eine alte Version des Dokuments!**
SPDNS Update Script
sudo nano /etc/cron.daily/update.dyndns.sh && sudo chmod +x /etc/cron.daily/update.dyndns.sh
#!/bin/bash HOST=xxx.spdns.de USER=xxx.spdns.de PASS=xxxx-xxxx-xxxx IPADDR=$(wget -4 -q -O- https://ip4.seeip.org/) UPDURL="https://update.spdyn.de/nic/update?hostname=$HOST&user=$USER&pass=$PASS&myip=$IPADDR" echo current ip is $IPADDR RESULT=$(wget -4 -q --no-check-certificate -O- "$UPDURL") echo result ist $RESULT
notes/linux/spdns-update-script.1651602403.txt.gz · Zuletzt geändert: 03.05.2022 18:26 von Martin