https://github.com/swarkin/cloudflare-ddns-updater
Cloudflare DDNS updater
https://github.com/swarkin/cloudflare-ddns-updater
Last synced: about 1 year ago
JSON representation
Cloudflare DDNS updater
- Host: GitHub
- URL: https://github.com/swarkin/cloudflare-ddns-updater
- Owner: Swarkin
- License: mit
- Created: 2024-11-09T23:33:40.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-21T18:43:50.000Z (over 1 year ago)
- Last Synced: 2025-04-10T16:52:57.496Z (about 1 year ago)
- Language: Rust
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Cloudflare DDNS updater
Tiny applet to update Cloudflare DNS A records for your domain.
It is recommended to use a service to restart the program on a regular interval, for example `systemd` on Linux or `Task Scheduler` on Windows.
---
## Config
The configuration is stored using the `.toml` format in the OS-specific config directory.
### Location
| OS | Path |
| --- | --- |
| Linux | `$HOME/.config/cloudflare-ddns-updater/config.toml` |
| Windows | `%APPDATA%/cloudflare-ddns-updater/config.toml` |
### Entries
| Key | Type | Required | Description | Default |
| --- | --- | --- | --- | --- |
| `auth_key` | `String` | **yes** | Cloudflare authentication key
*My Profile > API Tokens > Create Token > Edit zone DNS (template)* | none |
| `auth_email` | `String` | **yes** | Cloudflare account Email | none |
| `zone_id` | `String` | **yes** | Cloudflare zone ID
*Websites > (Your website) > Overview > API (bottom right) > Zone ID* | none |
| `ip_src` | `Vec` | no | List of URLs for fetching the external IPv4 | `["https://ipv4.icanhazip.com/",`
`"https://api.ipify.org"]` |
| `http_timeout_s` | `u64` | no | Timeout for all HTTP requests in seconds | 10 |