summaryrefslogtreecommitdiff
BranchCommit messageAuthorAge
mainadd pre requirementsTyler Murphy2 years
 
 
AgeCommit messageAuthorFilesLines
2023-09-12add pre requirementsHEADmainTyler Murphy1-0/+4
2023-09-12add schbangTyler Murphy1-4/+6
2023-09-12scriptTyler Murphy3-0/+858
 
Clone
https://g.freya.cat/cloudflare-autodns
git@git.in.freya.cat:cloudflare-autodns

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