Skip to content

Instantly share code, notes, and snippets.

View Kalvisan's full-sized avatar
🏠
Working from home

Kalvisan Kalvisan

🏠
Working from home
View GitHub Profile
@Kalvisan
Kalvisan / README.md
Last active July 31, 2018 11:28 — forked from lifehome/README.md
Cloudflare API v4 Dynamic DNS Update in Bash

Cloudflare DDNS bash client with systemd

This is a bash script to act as a Cloudflare DDNS client, useful replacement for ddclient.

How to use?

  1. Put the ddns.sh files to /root/
  2. chmod +x /root/ddns.sh
  3. Now you need to execute your script somehow: 4.1) Add script to CRONTAB job, to execute it every 1 hour.
  • At the end of file /etc/crontab add line: * */1 * * * root bash /root/ssh.sh 4.2) Or use /etc/rc.local file, who will execute script on startup