{"id":22272662,"url":"https://github.com/abhinav-ark/cron_ddns","last_synced_at":"2026-02-06T00:02:45.217Z","repository":{"id":265994307,"uuid":"892854849","full_name":"Abhinav-ark/cron_ddns","owner":"Abhinav-ark","description":"Cron based Cloudflare DDNS.","archived":false,"fork":false,"pushed_at":"2024-12-03T20:31:08.000Z","size":23,"stargazers_count":2,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-22T17:47:21.859Z","etag":null,"topics":["api","bash","cloudflare","ddns-script","linux"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Abhinav-ark.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-22T22:59:32.000Z","updated_at":"2024-12-03T20:31:12.000Z","dependencies_parsed_at":"2024-12-02T01:36:00.441Z","dependency_job_id":null,"html_url":"https://github.com/Abhinav-ark/cron_ddns","commit_stats":null,"previous_names":["abhinav-ark/cron_ddns"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Abhinav-ark%2Fcron_ddns","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Abhinav-ark%2Fcron_ddns/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Abhinav-ark%2Fcron_ddns/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Abhinav-ark%2Fcron_ddns/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Abhinav-ark","download_url":"https://codeload.github.com/Abhinav-ark/cron_ddns/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":236365315,"owners_count":19137504,"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":["api","bash","cloudflare","ddns-script","linux"],"created_at":"2024-12-03T13:07:58.488Z","updated_at":"2025-10-13T16:30:28.655Z","avatar_url":"https://github.com/Abhinav-ark.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cron DDNS\nA Cron based Bash script for `linux` systems to periodically update Cloudflare DNS records. Exclusively for `ipV6` Addresses.\n\n## How to setup?\n1. You need a `Cloudflare Domain` (or) transfer your Domain to [Cloudflare](https://developers.cloudflare.com/registrar/get-started/transfer-domain-to-cloudflare/).\n   \n2. Get the [API Key](https://developers.cloudflare.com/fundamentals/api/get-started/create-token/) and [ZoneID](https://developers.cloudflare.com/fundamentals/setup/find-account-and-zone-ids/) from Cloudflare Dashboard.\n\n3. Get the `RECORD ID` for the subdomain you want to manage.\n\nUse Cloudflare API to get record `id` from your desired record.\n```bash\ncurl --request GET \\\n--url https://api.cloudflare.com/client/v4/zones/\u003cZONE_ID\u003e/dns_records \\\n--header 'Content-Type: application/json' \\\n--header 'Authorization: Bearer \u003cAPI_KEY\u003e'\n```\n\n4. Install cron on the system if not already present\n\nIf you are using Ubuntu\n```bash\napt-get update \u0026\u0026 apt-get upgrade\n```\n```bash\napt-get install cron\n```\nVerify your installation using\n```bash\nsystemctl status cron\n```\n\n5. Clone this Repository.\n```git\ngit clone https://github.com/Abhinav-ark/cron_ddns.git\n```\n\n6. create a `.env` file and add the env variables specified below.\n```bash\ntouch .env\n```\n\n7. Run main.bash\n```bash\nbash main.bash\n```\n\n## .env File Format\n```.env\nAPI_KEY=\"\u003ccloudflare_api_key\u003e\"\nZONE_ID=\"\u003ccloudflare_zone_id\u003e\"\nRECORD_ID=\"\u003cdns_record_id\u003e\"\nDNS_NAME=\"\u003csubdomain_name\u003e\"\nIP_FILE=\"\u003cpath_to_store_last_updated_ip\u003e\"\nLOG_FILE=\"\u003cpath_to_store_ddns_logs\u003e\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabhinav-ark%2Fcron_ddns","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabhinav-ark%2Fcron_ddns","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabhinav-ark%2Fcron_ddns/lists"}