# README
Cloudflare Updater
Update a Cloudflare record each time the external IP address changes.
Features
- Runs in a Docker container
- Easy to configure
- Lightweight
- Built-in cronjob that runs every minute
Usage
-
Clone this repo
git clone https://github.com/AddilAfzal/cloudflare-updater
-
Build the image
docker build . -t cloudflare-updater
-
Create a container
docker create --name="cloudflare-updater" cloudflare-updater \ --targetZone=<TARGET_ZONE> \ --targetRecord=<TARGET_RECORD> \ --email=<EMAIL> \ --apiKey=<API_KEY>
Replace placeholder values.
<TARGET_ZONE>
is the zone/domain in which the target record falls under.example.com
<TARGET_RECORD>
is the record name or sub-domain belonging to the zone.home.example.com
<EMAIL>
is the Cloudflare email address that owns the domain\zone that is being updated.<API_KEY>
is the Cloudflare API key associated with the email address. How do I get an API key?
-
Start the container
docker start cloudflare-updater
Notes
Only supports IPv4 for now.
# Functions
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author