Crates.io | cfddns |
lib.rs | cfddns |
version | 1.6.2 |
source | src |
created_at | 2022-03-09 11:04:05.855677 |
updated_at | 2022-03-26 04:05:59.43053 |
description | Yet another DDNS client for Cloudflare |
homepage | https://github.com/uetchy/cfddns |
repository | |
max_upload_size | |
id | 546863 |
size | 58,313 |
Yet another DDNS client for Cloudflare written in Rust.
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 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 install cfddns
git clone https://github.com/uetchy/cfddns.git && cd cfddns
cargo build --release
cp target/release/cfddns /usr/local/bin
cfddns
package for your favorite Linux distribution