cfddns

Crates.iocfddns
lib.rscfddns
version1.6.2
sourcesrc
created_at2022-03-09 11:04:05.855677
updated_at2022-03-26 04:05:59.43053
descriptionYet another DDNS client for Cloudflare
homepagehttps://github.com/uetchy/cfddns
repository
max_upload_size
id546863
size58,313
uetchy (uetchy)

documentation

README

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
Commit count: 0

cargo fmt