summaryrefslogtreecommitdiff
path: root/README.md
blob: 0dcb96402cd5fee355bd84627662ceba44f525fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# 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

## Requirements

`curl`, `jq`, and `printf` need to be installed on the system

## License

This project is Licensed under the [GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)