Skip to content

Latest commit

 

History

History
43 lines (33 loc) · 2.11 KB

README.md

File metadata and controls

43 lines (33 loc) · 2.11 KB

Cloudflare Dynamic DNS IP Updater

GitHub GitHub last commit (branch) GitHub contributors

This script is used to update Dynamic DNS (DDNS) service based on Cloudflare! Access your home network remotely via a custom domain name without a static IP! Both IPv4 and IPv6 protocols supported! Written in pure BASH.

Support the Developer

Donate Via Paypal

Installation

git clone https://github.com/Wizman87/cloudflare-ddns-updater.git

Usage

This script is used with crontab. Specify the frequency of execution through crontab.

# ┌───────────── minute (0 - 59)
# │ ┌───────────── hour (0 - 23)
# │ │ ┌───────────── day of the month (1 - 31)
# │ │ │ ┌───────────── month (1 - 12)
# │ │ │ │ ┌───────────── day of the week (0 - 6) (Sunday to Saturday 7 is also Sunday on some systems)
# │ │ │ │ │ ┌───────────── command to issue                               
# │ │ │ │ │ │
# │ │ │ │ │ │
# * * * * * /bin/bash {Location of the script}

Tested Environments:

macOS Mojave version 10.14.6 (x86_64)
AlmaLinux 9.3 (Linux kernel: 5.14.0 | x86_64)
Debian Bullseye 11 (Linux kernel: 6.1.28 | aarch64)
Debian Bookworm 12 (Linux kernel: 6.1.0 | x86_64)

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Reference

This script was made with reference from Keld Norman video.

License

MIT