{"id":23251359,"url":"https://github.com/renfei/cloudflare-ddns-shell","last_synced_at":"2025-07-31T09:06:17.418Z","repository":{"id":48689014,"uuid":"385821460","full_name":"renfei/cloudflare-ddns-shell","owner":"renfei","description":"CloudFlare Dynamic DNS. CloudFlare 动态 DNS。","archived":false,"fork":false,"pushed_at":"2022-06-06T00:55:03.000Z","size":567,"stargazers_count":10,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-26T07:43:32.470Z","etag":null,"topics":["cloudflare","cloudflare-ddns","ddns","ddns-script"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/renfei.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-07-14T05:14:48.000Z","updated_at":"2024-12-01T08:16:11.000Z","dependencies_parsed_at":"2022-09-08T08:10:37.278Z","dependency_job_id":null,"html_url":"https://github.com/renfei/cloudflare-ddns-shell","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/renfei/cloudflare-ddns-shell","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renfei%2Fcloudflare-ddns-shell","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renfei%2Fcloudflare-ddns-shell/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renfei%2Fcloudflare-ddns-shell/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renfei%2Fcloudflare-ddns-shell/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/renfei","download_url":"https://codeload.github.com/renfei/cloudflare-ddns-shell/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renfei%2Fcloudflare-ddns-shell/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268016590,"owners_count":24181651,"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","status":"online","status_checked_at":"2025-07-31T02:00:08.723Z","response_time":66,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","cloudflare-ddns","ddns","ddns-script"],"created_at":"2024-12-19T09:17:57.831Z","updated_at":"2025-07-31T09:06:17.380Z","avatar_url":"https://github.com/renfei.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"[English](./README.md) | [简体中文](./README_ZH.md)\n\n![Cloudflare](./document/image/cf-logo.jpg)\n\nNote: the copyright of cloudflare® graphic trademark belongs to cloudflare, Inc.\n\n# Cloudflare Dynamic DNS\nDynamic DNS Shell script based on CloudFlare API v4. \n\n## Parameter Description\n\nThe selected parameters are mandatory parameters:\n\n- [x] -key: Cloudflare API Authorization Key, interface Token, application address: [https://dash.cloudflare.com/profile/api-tokens](https://dash.cloudflare.com/profile/api-tokens)\n- [x] -zone: domain, for example: renfei.net\n- [ ] -zone_id: The unique ID of the domain name on Cloudflare\n- [ ] -type: Domain name record type, for example: A record\n- [ ] -rec_id: The unique ID of the domain name record\n- [x] -name: Second-level domain name such as www\n- [ ] -content: request body content\n- [ ] -ttl: Parsing record survival time, 1 is automatic\n- [ ] -proxied: Whether to enable CloudFlare proxy\n\n\n## Example\n\nDomain name: test2.renfei.net, first go to Cloudflare to add domain name A record resolution, and manually execute it once:\n\n```bash\nbash /path/to/cloudflare_ddns.sh -key 404613183ab3971a2118ae5bf03d63e032f9e -zone renfei.net -name test2\n```\n![Example](./document/image/example.png)\n\n### Executed by Linux cron timing task\n\n```bash\ncrontab -e\n0 */1 * * * ? /path/to/cloudflare_ddns.sh -key 404613183ab3971a2118ae5bf03d63e032f9e -zone renfei.net -name test2 \u003e\u003e /path/to/cloudflare_ddns.log\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frenfei%2Fcloudflare-ddns-shell","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frenfei%2Fcloudflare-ddns-shell","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frenfei%2Fcloudflare-ddns-shell/lists"}