cfddns icon indicating copy to clipboard operation
cfddns copied to clipboard

Yet another DDNS client for Cloudflare

cfddns

Yet another DDNS client for Cloudflare written in Rust.

Packaging status

Usage

cfddns -c <config.yml> <domain-list.txt>
cat << EOD > domains
example.com
mail.example.com
example.org
EOD

cat <<EOD > cfddns.yml
token: "<CloudFlare API token>"
interval: 900 # in seconds (optional)
endpoint: "https://api.ipify.org" # external ip provider (optional)
EOD

cfddns -c cfddns.yml domains

Install

Arch Linux

Install cfddns from AUR.

yay -S cfddns
vim /etc/cfddns/cfddns.yml # replace `token` value with yours
vim /etc/cfddns/domains

systemctl enable --now cfddns

Cargo

cargo install cfddns

Build from source

git clone https://github.com/uetchy/cfddns.git && cd cfddns
cargo build --release
cp target/release/cfddns /usr/local/bin

Contribute

Tasks

  • Report a bug
  • Create and maintain cfddns package for your favorite Linux distribution