{"id":13473672,"url":"https://github.com/lyoshenka/cloudflare-ddns","last_synced_at":"2025-03-16T20:30:35.025Z","repository":{"id":10113900,"uuid":"12180564","full_name":"lyoshenka/cloudflare-ddns","owner":"lyoshenka","description":"Simple, free dynamic DNS via Cloudflare","archived":false,"fork":false,"pushed_at":"2019-10-15T15:29:01.000Z","size":30,"stargazers_count":155,"open_issues_count":2,"forks_count":29,"subscribers_count":14,"default_branch":"master","last_synced_at":"2025-02-27T12:46:02.433Z","etag":null,"topics":["cloudflare","ddns","dynamic-dns","php"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/lyoshenka.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}},"created_at":"2013-08-17T14:58:04.000Z","updated_at":"2024-11-20T18:39:46.000Z","dependencies_parsed_at":"2022-09-08T11:51:40.650Z","dependency_job_id":null,"html_url":"https://github.com/lyoshenka/cloudflare-ddns","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lyoshenka%2Fcloudflare-ddns","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lyoshenka%2Fcloudflare-ddns/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lyoshenka%2Fcloudflare-ddns/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lyoshenka%2Fcloudflare-ddns/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lyoshenka","download_url":"https://codeload.github.com/lyoshenka/cloudflare-ddns/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243826798,"owners_count":20354221,"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","dynamic-dns","php"],"created_at":"2024-07-31T16:01:05.876Z","updated_at":"2025-03-16T20:30:34.758Z","avatar_url":"https://github.com/lyoshenka.png","language":"PHP","funding_links":[],"categories":["DNS"],"sub_categories":[],"readme":"# cloudflare-ddns\n\nA dynamic DNS script (written in PHP) that uses CloudFlare's free DNS and their API to set up a dynamic DNS record pointing to your server.\n\n## How To Use\n\n```\ngit clone https://github.com/lyoshenka/cloudflare-ddns.git\ncd cloudflare-ddns\ncp config.php.skel config.php\n### Edit config.php - enter your CloudFlare credentials and domain details\n./ddns.php\n```\n\nIf everything works, put it in your crontab.\n\n```\n0 * * * * /path/to/cloudflare-ddns/ddns.php -s\n``` \n\n### Extra feature: API mode\n\nIf you want, you can put this script on a web server and use the \"dynamic DNS\" option of your router to trigger the IP update.\n\nTo do this, first enable API mode by setting an `auth_token` value in your config. \n\nThen, configure your router to call the script like this: `https://example.com/ddns.php?auth_token=YOUR_TOKEN\u0026ip=IP_ADDR`\n\n## License\n\nUncopyrighted. Do whatever you want. I hope this code makes you rich. Spiritually.\n\n## No PHP?\n\nFor an even simpler version written in Bash, see [this gist](https://gist.github.com/lyoshenka/6257440).\n\n## Development\n\nUse [php-cs-fixer](https://github.com/FriendsOfPHP/PHP-CS-Fixer) like `php-cs-fixer fix ddns.php  --rules=@PSR2` to enforce code style.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flyoshenka%2Fcloudflare-ddns","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flyoshenka%2Fcloudflare-ddns","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flyoshenka%2Fcloudflare-ddns/lists"}