Installation
Standalone binaries
Section titled “Standalone binaries”Pre-compiled binaries bundle the script’s own dependencies (Bash, curl, jq); the self-extracting launcher only relies on basic system tools (tar, and PowerShell on Windows) to unpack itself.
-
Download the latest release for your platform from the Releases page:
- Linux:
cf-updater-linux-x86_64(Intel/AMD) orcf-updater-linux-aarch64(ARM/Raspberry Pi) - macOS:
cf-updater-macos-x86_64(Intel) orcf-updater-macos-aarch64(Apple Silicon) - Windows:
cf-updater-windows-x86_64.exe
- Linux:
-
Make it executable (Linux/macOS):
Terminal window chmod +x cf-updater-linux-x86_64 -
Run it from the directory that contains your
cloudflare-dns.yaml, or pass the config path as an argument:Terminal window ./cf-updater-linux-x86_64 /path/to/cloudflare-dns.yaml
From source
Section titled “From source”Requirements:
- Bash 4.0+
- curl (wget or PowerShell are used as fallbacks)
- jq — strongly recommended; without it a slower, limited parser is used
git clone https://github.com/jmrplens/Cloudflare-DNS-Updater.gitcd Cloudflare-DNS-Updatercp config.example.yaml cloudflare-dns.yamlchmod 600 cloudflare-dns.yaml./cloudflare-dns-updater.shThe launcher looks for cloudflare-dns.yaml next to itself.