CloudFlare Dynamic DNS Client
Reimplementation of cloudflare-dyndns in Rust.
cargo build
Usage: cfdyndns [OPTIONS] --records <RECORDS>
Options:
-r, --records <RECORDS> Comma separated DNS records to update with the host's public IP [env: CLOUDFLARE_RECORDS=]
-t, --token <TOKEN> recommended: The CloudFlare API token to authenticate with [env: CLOUDFLARE_APITOKEN]
-k, --key <KEY> deprecated: The CloudFlare API key to authenticate with, also requires email [env: CLOUDFLARE_APIKEY]
-e, --email <EMAIL> deprecated: The CloudFlare email to authenticate with, also requires API key [env: CLOUDFLARE_EMAIL=]
-v, --verbose... More output per occurrence
-q, --quiet... Less output per occurrence
-6 set an AAAA record to the host's ipv6 address
-4 set an A record to the host's ipv4 address
-h, --help Print help
-V, --version Print version
-
edit
systemd/cloudflare-dyndns.service
to point to yourcloudflare-dyndns
binary. -
copy
systemd/cloudflare-dyndns.config.example
tosystemd/cloudflare-dyndns.config
and update as appropriate -
make install-systemd
make uninstall-systemd
Special thanks to colemickens for bootstrapping and transferring ownership of this project.