38 lines
1.9 KiB
Markdown
38 lines
1.9 KiB
Markdown
# Cloudflare Dynamic DNS IP Updater
|
|
<img alt="GitHub" src="https://img.shields.io/github/license/K0p1-Git/cloudflare-ddns-updater?color=black"> <img alt="GitHub last commit (branch)" src="https://img.shields.io/github/last-commit/K0p1-Git/cloudflare-ddns-updater/main"> <img alt="GitHub contributors" src="https://img.shields.io/github/contributors/K0p1-Git/cloudflare-ddns-updater">
|
|
|
|
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! Includes support for both IPv4 and IPv6! Written in pure BASH.
|
|
|
|
## Support Me
|
|
[![Donate Via Paypal](https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif)](https://www.paypal.me/Jasonkkf)
|
|
|
|
## Installation
|
|
|
|
```bash
|
|
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.
|
|
|
|
```bash
|
|
# ┌───────────── 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](https://www.youtube.com/watch?v=vSIBkH7sxos) video.
|
|
|
|
## License
|
|
[MIT](https://github.com/K0p1-Git/cloudflare-ddns-updater/blob/main/LICENSE)
|