Go to file
Derek Battams 6d0c2e1787
add support for generic GET webhook uri
Add ability to hit a generic webhook with a GET request on a successful run.  The idea here is to setup an endpoint on healthchecks.io, which will be hit on every successful run.  If the script fails, the webhook isn't hit, which eventually triggers an alarm on healthchecks.io.

Since this is just making a simple GET request, one could also use it to hit any generic webhook on success.
2023-05-20 18:33:08 -04:00
LICENSE Initial commit 2020-11-09 20:49:48 +08:00
README.md Update README.md 2022-02-26 10:37:01 +08:00
cloudflare-template.sh add support for generic GET webhook uri 2023-05-20 18:33:08 -04:00

README.md

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! Written in pure BASH.

Support Me

Donate Via Paypal

Installation

git clone https://github.com/K0p1-Git/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}

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