{"id":20376897,"url":"https://github.com/xjonathanlei/cfdydns","last_synced_at":"2026-05-10T10:33:39.652Z","repository":{"id":238056257,"uuid":"795740972","full_name":"xJonathanLEI/cfdydns","owner":"xJonathanLEI","description":"Cloudflare dynamic DNS client","archived":false,"fork":false,"pushed_at":"2024-05-04T03:25:21.000Z","size":25,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-24T05:52:00.643Z","etag":null,"topics":["cloudflare","ddns"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xJonathanLEI.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-05-03T23:50:49.000Z","updated_at":"2024-05-04T03:25:24.000Z","dependencies_parsed_at":"2024-05-04T04:24:22.996Z","dependency_job_id":"2cf5201f-80ef-47e3-810a-fea3e3181c45","html_url":"https://github.com/xJonathanLEI/cfdydns","commit_stats":null,"previous_names":["xjonathanlei/cfdydns"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xJonathanLEI%2Fcfdydns","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xJonathanLEI%2Fcfdydns/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xJonathanLEI%2Fcfdydns/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xJonathanLEI%2Fcfdydns/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xJonathanLEI","download_url":"https://codeload.github.com/xJonathanLEI/cfdydns/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241928527,"owners_count":20043820,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cloudflare","ddns"],"created_at":"2024-11-15T01:39:55.255Z","updated_at":"2026-05-10T10:33:39.597Z","avatar_url":"https://github.com/xJonathanLEI.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ch1 align=\"center\"\u003ecfdydns\u003c/h1\u003e\n\u003c/p\u003e\n\n**Cloudflare dynamic DNS client**\n\n[![crates-badge](https://img.shields.io/crates/v/cfdydns.svg)](https://crates.io/crates/cfdydns)\n\nA simplistic dynamic DNS client that only works with Cloudflare, for only one domain. It's easily configurable via environment variables, making it an ideal choice to use in containers.\n\n## Installation\n\nThe recommended way of using `cfdydns` is through containers. Built containers are available in:\n\n- [GitHub Container Registry](https://github.com/xJonathanLEI/cfdydns/pkgs/container/cfdydns): `ghcr.io/xjonathanlei/cfdydns:latest`\n- [Docker Hub](https://hub.docker.com/r/xjonathanlei/cfdydns): `xjonathanlei/cfdydns:latest`\n\nYou may also install the binary directly. With the Rust toolchain installed:\n\n```console\ncargo install --locked cfdydns\n```\n\n## Getting started\n\n`cfdydns` is configurable via command line options and environment variables. Running `cfdydns --help` reveals the options:\n\n| Option        | Env var             | Optional | Description                                                              |\n| ------------- | ------------------- | -------- | ------------------------------------------------------------------------ |\n| `--fqdn`      | `CFDYDNS_FQDN`      | No       | Fully-qualified domain name to set A record on                           |\n| `--zone`      | `CFDYDNS_ZONE`      | No       | Zone name of the FQDN (e.g. `example.com`)                               |\n| `--api-token` | `CFDYDNS_API_TOKEN` | No       | Cloudflare API token with the `DNS: Edit` permission for the target zone |\n| `--interval`  | `CFDYDNS_INTERVAL`  | Yes      | Number of seconds to wait between each check                             |\n\n\u003e [!TIP]\n\u003e\n\u003e `cfdydns` does not create new records for you. The target `A` record for the FQDN must already exist.\n\n## Why not [ddclient](https://github.com/ddclient/ddclient)?\n\n`ddclient` is hard to configure and barely maintained. Who cares about all the DNS provider integration when you're only using Cloudflare anyways.\n\n## License\n\nLicensed under either of\n\n- Apache License, Version 2.0 ([LICENSE-APACHE](./LICENSE-APACHE) or \u003chttp://www.apache.org/licenses/LICENSE-2.0\u003e)\n- MIT license ([LICENSE-MIT](./LICENSE-MIT) or \u003chttp://opensource.org/licenses/MIT\u003e)\n\nat your option.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxjonathanlei%2Fcfdydns","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxjonathanlei%2Fcfdydns","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxjonathanlei%2Fcfdydns/lists"}