{"id":21871466,"url":"https://github.com/cf-jongsik/cf-ddns","last_synced_at":"2026-05-01T21:34:56.745Z","repository":{"id":248415209,"uuid":"828639912","full_name":"cf-jongsik/cf-ddns","owner":"cf-jongsik","description":"Cloudflare DDNS agent","archived":false,"fork":false,"pushed_at":"2024-07-15T13:59:03.000Z","size":129,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-12T05:53:43.249Z","etag":null,"topics":["cloudflare","ddns","ddns-client","ddns-script","ddns-updater"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/neomax7/cf-ddns","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cf-jongsik.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-07-14T18:44:29.000Z","updated_at":"2024-07-15T13:57:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"8d61ca89-09e0-4d87-98de-ee14f11b173c","html_url":"https://github.com/cf-jongsik/cf-ddns","commit_stats":null,"previous_names":["cf-jongsik/cf-ddns"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cf-jongsik/cf-ddns","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cf-jongsik%2Fcf-ddns","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cf-jongsik%2Fcf-ddns/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cf-jongsik%2Fcf-ddns/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cf-jongsik%2Fcf-ddns/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cf-jongsik","download_url":"https://codeload.github.com/cf-jongsik/cf-ddns/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cf-jongsik%2Fcf-ddns/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32513830,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"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","ddns","ddns-client","ddns-script","ddns-updater"],"created_at":"2024-11-28T06:14:19.851Z","updated_at":"2026-05-01T21:34:56.730Z","avatar_url":"https://github.com/cf-jongsik.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp\u003e\u003ch1\u003eCloudflare DNS update agent\u003c/h1\u003e\u003c/p\u003e\n\n\u003cp\u003e\n\nThis docker image create and update A record of Cloudflare DNS \u003cbr/\u003e\n\nand let you use Cloudflare as dynamic DNS service.\n\n\u003c/p\u003e\n\n\u003cp\u003e\n\u003ch1\u003e#INSTALLATION\u003c/h1\u003e\n\u003ch3\u003e##OPTION 1 - install on VM\u003c/h3\u003e\n\n\u003ch6\u003e1. clone the repo\u003cbr/\u003e\u003c/h6\u003e\n\n```bash\ngit clone https://github.com/cf-jongsik/cf-ddns.git\n```\n\n\u003ch6\u003e2. install\u003c/h6\u003e\n\n```bash\n./install.sh\n```\n\n\u003ch6\u003euninstall\u003c/h6\u003e\n\n```bash\n./uninstall.sh\n```\n\n\u003ch3\u003e##OPTION 2 - docker compose\u003c/h3\u003e\n\n\u003ch6\u003e1. Edit the following sample then save as docker-compose.yaml \u003cbr/\u003e\u003c/h6\u003e\n\n```dockerfile\nservices:\n  cf-ddns:\n    image: docker.io/neomax7/cf-ddns:latest\n    environment:\n    - TOKEN=PLACE_YOUR_OWN_TOKEN # your TOKEN from Cloudflare Dashboard (require ZONE edit)\n    - ZONE=PLACE_YOUR_OWN_ZONE # your ZONE ID from Cloudflare Dashboard\n    - RECORD=PLACE_YOUR_SUBDOMAIN # Subdomain of your choice , example: test.example.com =\u003e example.com = zone , test = subdomain\n    #- TIMEZONE=PLACE_YOUR_TIMEZONE # OPTIONAL: for more accurate cronjob otherwise its UTC\n    #- CRON=* * * * * # OPTIONAL: default is every 5 min, make sure no quote or double quote\n```\n\n\u003cbr/\u003e\n\n\u003ch6\u003e2. in the same directory as above file\u003c/h6\u003e\n\n```bash\ndocker compose up -d\n```\n\n\u003c/p\u003e\n\u003cbr/\u003e\n\u003cp\u003e\n\u003ch3\u003e##OPTION 3 - docker\u003c/h3\u003e\n\n```bash\ndocker run -d --rm --env TOKEN=YOUR_TOKEN --env ZONE=YOUR_ZONE_ID --env RECORD=RECORD_OF_CHOICE --env CRON=\"* * * * *\" neomax7/cf-ddns:latest\n```\nOR use env-file\n```bash\ndocker run -d --rm --env-file .env neomax7/cf-ddns:latest\n```\n\n\u003c/p\u003e\n\n\u003cbr/\u003e\n\n\u003cp\u003e\n\u003ch1\u003e#Environment Variables\u003c/h1\u003e\nThis agent takes following environment variables\u003cbr/\u003e\n\n```bash\n#required\nTOKEN = Cloudflare API TOKEN with DNS EDIT permission\nZONE = ZONE ID from Cloudflare dashboard\nRECORD = name of A record wish to register\n#optional\nCRON = typical cron schedule ex: */5 * * * *\nTIMEZONE = your timezone\n```\n\n\u003c/p\u003e\n\u003cbr/\u003e\n\u003cp\u003e\n\u003ch1\u003e#DESCRIPTION\u003c/h1\u003e\n\nscript content \u003cbr /\u003e\n\n1. \\$CRON schedule fires the script \u003cbr /\u003e\n2. the script searches for the \\$RECORD in your \\$ZONE \u003cbr /\u003e\n3. if the \\$RECORD exists, delete the record \u003cbr /\u003e\n   (currently Cloudflare API doenst let you patch or put with Bearer token) \u003cbr /\u003e\n4. create the \\$RECORD with public IP from ifconfig.me \u003cbr /\u003e\n\n\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcf-jongsik%2Fcf-ddns","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcf-jongsik%2Fcf-ddns","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcf-jongsik%2Fcf-ddns/lists"}