This is a bash script to act as a Cloudflare DDNS client, useful replacement for ddclient.
- Put the
cfupdaterfiles to/usr/local/bin
- If you are using IPv4 for A record, append
-v4tocfupdaterin the following systemd service unit. - If you are using IPv6 for AAAA record, append
-v6tocfupdaterin the following systemd service unit. - If you prefer a dual-stack record, append
-dualstacktocfupdaterin the following systemd service unit.
chmod +x /usr/local/bin/cfupdater- Create a systemd service unit at
/etc/systemd/system/, thecfupdate.serviceis shown as an example.