Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 4 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 (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-11-05T21:04:27.000Z (over 2 years ago)
- Last Synced: 2024-10-07T16:42:45.826Z (4 months ago)
- Topics: cloudflare, cloudflare-ddns, ddns, dynamic-dns, rust
- Language: Rust
- Homepage:
- Size: 105 KB
- Stars: 10
- Watchers: 3
- 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.
[![Packaging status](https://repology.org/badge/vertical-allrepos/cfddns.svg)](https://repology.org/project/cfddns/versions)
## Usage
```
cfddns -c
``````bash
cat << EOD > domains
example.com
mail.example.com
example.org
EODcat < cfddns.yml
token: ""
interval: 900 # in seconds (optional)
endpoint: "https://api.ipify.org" # external ip provider (optional)
EODcfddns -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/domainssystemctl 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