| Crates.io | cloudflare-ddns-updater |
| lib.rs | cloudflare-ddns-updater |
| version | 2.0.0 |
| created_at | 2024-12-21 01:11:53.923919+00 |
| updated_at | 2025-05-09 17:08:07.732138+00 |
| description | tiny applet to update Cloudflare DNS A records for your domain |
| homepage | |
| repository | https://github.com/Swarkin/cloudflare-ddns-updater |
| max_upload_size | |
| id | 1490666 |
| size | 38,315 |
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.
The configuration is stored using the .toml format in the OS-specific config directory.
| OS | Path |
|---|---|
| Linux | $HOME/.config/cloudflare-ddns-updater/config.toml |
| Windows | %APPDATA%/cloudflare-ddns-updater/config.toml |
| Key | Type | Required | Description | Default |
|---|---|---|---|---|
auth_key |
String |
yes | Cloudflare authentication key My Profile > API Tokens > Create Token > Edit zone DNS (template) |
|
auth_email |
String |
yes | Cloudflare account Email | |
zone_id |
String |
yes | Cloudflare zone ID Websites > (Your website) > Overview > API (bottom right) > Zone ID |
|
patterns |
Vec<String> |
List of glob-patterns to match the DNS record name with | ||
invert_patterns |
bool |
Inverts the effect of patterns | ||
ip_src |
Vec<String> |
List of URLs used for fetching the external IPv4 | ipv4.icanhazip.comapi.ipify.org |
|
http_timeout_s |
u64 |
Timeout for all HTTP requests in seconds | 10 |