A tool for updating Cloudflare DNS A records for a particular zone to the public IP of the executing host, like Dynamic DNS.
./cfddns
To install cfddns:
cargo build -rsudo cp ./target/release/cfddns /usr/bin/cfddnscp ./config/example.json ./config/config.json- Update the placeholder values in the config at
./config/config.jsonas directed sudo mkdir /etc/cfddns && sudo cp ./config/config.json /etc/cfddns/config.json && sudo chmod 600 /etc/cfddns/config.jsonsudo cp ./systemd/* /etc/systemd/system/sudo systemctl daemon-reload && sudo systemctl enable --now cfddns.timer