Auto check latest VPS IP and update DDNS record on Hetzner
Last updated on: 2022/06/26
cd /root/
wget https://gist.githubusercontent.com/ookangzheng/c1f6894470d362c4356911691c24f67d/raw/update-hetzner-dns.sh
chmod +x update-hetzner-dns.sh
nano /etc/crontab
*/1 * * * * root /root/update-hetzner-dns.sh
service crontab restart