cloudflare-autodns/README.md

22 lines
561 B
Markdown
Raw Normal View History

2023-09-12 13:01:07 +00:00
# Cloudflare AutoDNS
A bash script to update your dns (for cloudflare) for those who run servers with a dynamic IP
## How to
The following enviornment variables are to be set
```
1. API_TOKEN Your cloudflare API token
2. ZONE The zone contaning the dns record
3. DOMAIN The domain record in the zone to be updated
```
This script is best used with a cron job
2023-09-12 13:06:29 +00:00
## Requirements
`curl`, `jq`, and `printf` need to be installed on the system
2023-09-12 13:01:07 +00:00
## License
This project is Licensed under the [GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)