{"id":40911623,"url":"https://github.com/foxscore/cloudflare-ddns","last_synced_at":"2026-01-22T03:05:37.003Z","repository":{"id":316973445,"uuid":"1065525270","full_name":"foxscore/cloudflare-ddns","owner":"foxscore","description":null,"archived":false,"fork":false,"pushed_at":"2025-12-14T17:32:20.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-12-17T02:24:57.877Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/foxscore.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-27T22:40:32.000Z","updated_at":"2025-12-14T17:32:24.000Z","dependencies_parsed_at":"2025-09-28T00:21:14.512Z","dependency_job_id":"09e6e40e-b781-45fa-a2dd-a1ff54b10df1","html_url":"https://github.com/foxscore/cloudflare-ddns","commit_stats":null,"previous_names":["foxscore/cloudflare-ddns"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/foxscore/cloudflare-ddns","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foxscore%2Fcloudflare-ddns","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foxscore%2Fcloudflare-ddns/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foxscore%2Fcloudflare-ddns/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foxscore%2Fcloudflare-ddns/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/foxscore","download_url":"https://codeload.github.com/foxscore/cloudflare-ddns/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foxscore%2Fcloudflare-ddns/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28651824,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-22T01:17:37.254Z","status":"online","status_checked_at":"2026-01-22T02:00:07.137Z","response_time":144,"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":[],"created_at":"2026-01-22T03:05:36.952Z","updated_at":"2026-01-22T03:05:36.995Z","avatar_url":"https://github.com/foxscore.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cloudflare DDNS Docker\n\nA containerized Cloudflare Dynamic DNS updater that automatically fetches zone IDs and runs with periodic updates.\n\n## Environment Variables\n\n- `API_TOKEN` (required): Your Cloudflare API token\n- `DOMAIN` (required): Your domain (e.g., `example.com`)\n- `SUB_DOMAIN` (required): Your subdomain(s). Can be a single subdomain (e.g., `home`) or multiple subdomains separated by semicolons (e.g., `home;vpn;api`)\n- `UPDATE_INTERVAL_MINUTES` (optional): Update interval in minutes, default is `5`\n- `TZ` (optional): Timezone, default is `UTC`\n- `SYNC_SPF` (optional): Set to `true` to enable SPF record synchronization, default is `false`\n- `SPF_RECORD_NAME` (optional): Domain name for SPF record, default is the root domain (`$DOMAIN`)\n\n## Usage\n\n### Single Subdomain\n```bash\ndocker run -d \\\n  -e API_TOKEN=your_token_here \\\n  -e DOMAIN=example.com \\\n  -e SUB_DOMAIN=home \\\n  ghcr.io/foxscore/cloudflare-ddns:latest\n```\n\n### Multiple Subdomains\n```bash\ndocker run -d \\\n  -e API_TOKEN=your_token_here \\\n  -e DOMAIN=example.com \\\n  -e SUB_DOMAIN=\"home;vpn;api;server\" \\\n  ghcr.io/foxscore/cloudflare-ddns:latest\n```\n\n### Custom Update Interval\n```bash\ndocker run -d \\\n  -e API_TOKEN=your_token_here \\\n  -e DOMAIN=example.com \\\n  -e SUB_DOMAIN=home \\\n  -e UPDATE_INTERVAL_MINUTES=10 \\\n  ghcr.io/foxscore/cloudflare-ddns:latest\n```\n\n### Docker Compose\n```bash\n# Edit docker-compose.yml with your values\ndocker-compose up -d\n```\n\n### With SPF Record Synchronization\n```bash\ndocker run -d \\\n  -e API_TOKEN=your_token_here \\\n  -e DOMAIN=example.com \\\n  -e SUB_DOMAIN=home \\\n  -e SYNC_SPF=true \\\n  ghcr.io/foxscore/cloudflare-ddns:latest\n```\n\nThis will automatically update any `ip4:` mechanisms in your SPF record when your IP changes.\n\n### Custom SPF Record Name\n```bash\ndocker run -d \\\n  -e API_TOKEN=your_token_here \\\n  -e DOMAIN=example.com \\\n  -e SUB_DOMAIN=home \\\n  -e SYNC_SPF=true \\\n  -e SPF_RECORD_NAME=mail.example.com \\\n  ghcr.io/foxscore/cloudflare-ddns:latest\n```\n\n## Building from Source\n\nIf you prefer to build the image yourself instead of using the pre-built image:\n\n```bash\ndocker build -t cloudflare-ddns .\n# Then use cloudflare-ddns instead of ghcr.io/foxscore/cloudflare-ddns:latest\n```\n\n## Features\n\n- Automatically fetches and caches Cloudflare zone ID\n- Supports multiple subdomains in a single container\n- Preserves existing DNS record settings (TTL, proxy status)\n- Runs with configurable update intervals\n- Logs all operations with timestamps\n- No persistent volumes needed (cache stored in container)\n- Tracks success/failure for each subdomain individually\n- Optional SPF record synchronization to keep `ip4:` mechanisms updated","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffoxscore%2Fcloudflare-ddns","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffoxscore%2Fcloudflare-ddns","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffoxscore%2Fcloudflare-ddns/lists"}