cloudflare ddns on linux (ubuntu)

github https://github.com/K0p1-Git/cloudflare-ddns-updater/tree/main
youtube https://www.youtube.com/watch?v=rI-XxnyWFnM
git clone https://github.com/K0p1-Git/cloudflare-ddns-updater.git
use "ls" and "cd" , go to the folder of the cloudflare-template.sh
nano cloudflare-template.sh
auth_email="kppit88@gmail.com" # The email used to login 'https://dash> auth_method="global" # Set to "global" for Global API Key auth_key="" # Your API Token zone_identifier="" # Can be found in the Zone ID record_name="name.domain.com"
fill in the all in info in .sh chmod +x cloudflare-template.sh
nano /etc/crontab edit the crontab every 1 hour 0 1 * * * root /bin/bash /root/cloudflare-ddns-updater/cloudflare-template.sh
systemctl restart cron

评论

此博客中的热门博文

带8个免费监控授权的黑群晖DSM7.X安装教程和注意事项

甲骨文云dd重装系统一键脚本

synology 查看隐藏目录和 文件夹大小