- POSIX-compliant
- Cloudflare API v4
- Bearer authentication
- DNS proxy recognition
- Installed as a cron job
- Compatible with OpenBSD
- Create
/etc/ddns/cloudflare.keys
with contents:
ZONE_ID=xxxxxx
API_TOKEN=xxxxxx
-
Set the owner and file
/etc/ddns/cloudflare.keys
only readable by the executor of the ddns service -
Copy
ddns
to a directory of your choice, e.g.,/usr/sbin/
-
Add a cron job using
crontab -e
under the service executor/user:
*/10 * * * * /usr/sbin/ddns
curl
jq
No Python. Python 3.10 drops support for LibreSSL, thus not working on OpenBSD.