https://github.com/uetchy/cfddns
Straightforward Cloudflare DDNS client written in Rust
https://github.com/uetchy/cfddns
cloudflare cloudflare-ddns ddns dynamic-dns rust
Last synced: 7 months ago
JSON representation
Straightforward Cloudflare DDNS client written in Rust
- Host: GitHub
- URL: https://github.com/uetchy/cfddns
- Owner: uetchy
- License: mit
- Created: 2019-01-08T05:21:22.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-11-05T21:04:27.000Z (about 3 years ago)
- Last Synced: 2025-04-13T02:16:56.173Z (7 months ago)
- Topics: cloudflare, cloudflare-ddns, ddns, dynamic-dns, rust
- Language: Rust
- Homepage:
- Size: 105 KB
- Stars: 10
- Watchers: 2
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# cfddns
Yet another DDNS client for Cloudflare written in Rust.
[](https://repology.org/project/cfddns/versions)
## Usage
```
cfddns -c
```
```bash
cat << EOD > domains
example.com
mail.example.com
example.org
EOD
cat < cfddns.yml
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](https://aur.archlinux.org/packages/cfddns/).
```bash
yay -S cfddns
```
```bash
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
```bash
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