Skip to content

subbyte/cloudflare-ddns-posix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Cloudflare Dynamic DNS Update Service

  • POSIX-compliant
  • Cloudflare API v4
  • Bearer authentication
  • DNS proxy recognition
  • Installed as a cron job
  • Compatible with OpenBSD

Install

  1. Create /etc/ddns/cloudflare.keys with contents:
ZONE_ID=xxxxxx
API_TOKEN=xxxxxx
  1. Set the owner and file /etc/ddns/cloudflare.keys only readable by the executor of the ddns service

  2. Copy ddns to a directory of your choice, e.g., /usr/sbin/

  3. Add a cron job using crontab -e under the service executor/user:

*/10 * * * * /usr/sbin/ddns

Requirement

  • curl
  • jq

Design Consideration

No Python. Python 3.10 drops support for LibreSSL, thus not working on OpenBSD.

Releases

No releases published

Packages

No packages published

Languages