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
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
评论
发表评论