Skip to content

mjysci/cloudflare-api-ddns

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Cloudflare API v4 Dynamic DNS Update in Bash, without unnecessary requests
Now the script also supports v6(AAAA DDNS Recoards)

Usage

cf-ddns.sh -k cloudflare-api-token \
           -h host.example.com \     # fqdn of the record you want to update
           -z example.com \          # will show you all zones if forgot, but you need this
           -t A|AAAA                 # specify ipv4/ipv6, default: ipv4

You need an API Token that have read access to Zone.Zone, and write access to Zone.DNS.

Feature

  • Use API Token instead of Global API key
  • Support OpenWrt

About

Cloudflare API v4 Dynamic DNS Update in Bash

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 91.2%
  • Dockerfile 8.8%