{"id":13520567,"url":"https://github.com/honwen/aliyun-ddns-cli","last_synced_at":"2025-04-05T03:12:30.788Z","repository":{"id":37664379,"uuid":"76645836","full_name":"honwen/aliyun-ddns-cli","owner":"honwen","description":"ALiDDNS - Dynamic DNS CLI for [aliyun.com]","archived":false,"fork":false,"pushed_at":"2024-04-06T07:21:54.000Z","size":570,"stargazers_count":398,"open_issues_count":11,"forks_count":101,"subscribers_count":15,"default_branch":"master","last_synced_at":"2024-04-06T08:23:41.415Z","etag":null,"topics":["aliyun","ddns","docker","golang"],"latest_commit_sha":null,"homepage":"","language":"Go","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/honwen.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}},"created_at":"2016-12-16T10:43:33.000Z","updated_at":"2024-04-06T08:23:52.252Z","dependencies_parsed_at":"2023-11-13T18:27:25.305Z","dependency_job_id":"9fa3a62f-7039-4a91-8315-fc267102cbb5","html_url":"https://github.com/honwen/aliyun-ddns-cli","commit_stats":null,"previous_names":["chenhw2/aliyun-ddns-cli"],"tags_count":60,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/honwen%2Faliyun-ddns-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/honwen%2Faliyun-ddns-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/honwen%2Faliyun-ddns-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/honwen%2Faliyun-ddns-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/honwen","download_url":"https://codeload.github.com/honwen/aliyun-ddns-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247280272,"owners_count":20912967,"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":["aliyun","ddns","docker","golang"],"created_at":"2024-08-01T06:00:17.614Z","updated_at":"2025-04-05T03:12:30.770Z","avatar_url":"https://github.com/honwen.png","language":"Go","funding_links":[],"categories":["DDNS"],"sub_categories":[],"readme":"### Source\n\n- https://github.com/honwen/aliyun-ddns-cli\n\n### Thanks (package alidns)\n\n- https://github.com/denverdino/aliyungo\n\n### Docker\n\n- https://hub.docker.com/r/chenhw2/aliyun-ddns-cli/\n\n### Usage\n\n```shell\n$ docker pull chenhw2/aliyun-ddns-cli\n\n$ docker run -d \\\n    -e \"AKID=[ALIYUN's AccessKey-ID]\" \\\n    -e \"AKSCT=[ALIYUN's AccessKey-Secret]\" \\\n    -e \"DOMAIN=ddns.aliyun.win\" \\\n    -e \"REDO=600\" \\\n    -e \"TTL=600\" \\\n    chenhw2/aliyun-ddns-cli\n```\n\n### Example (for Synology)\n\n- https://github.com/honwen/aliyun-ddns-cli/tree/master/example\n\n### Help\n\n```shell\n$ docker run --rm chenhw2/aliyun-ddns-cli -h\nNAME:\n   aliddns - aliyun-ddns-cli\n\nUSAGE:\n   aliyun-ddns-cli [global options] command [command options] [arguments...]\n\nVERSION:\n   Git:[MISSING BUILD VERSION [GIT HASH]] (go1.21)\n\nCOMMANDS:\n   help, h  Shows a list of commands or help for one command\n\n   DDNS:\n     list         List AliYun's DNS DomainRecords Record\n     delete       Delete AliYun's DNS DomainRecords Record\n     update       Update AliYun's DNS DomainRecords Record, Create Record if not exist\n     auto-update  Auto-Update AliYun's DNS DomainRecords Record, Get IP using its getip\n\n   GET-IP:\n     getip          Get IP Combine 10+ different Web-API\n     resolve        Get DNS-IPv4 Combine 4+ DNS Upstream\n\nGLOBAL OPTIONS:\n   --access-key-id value, --id value          AliYun's Access Key ID\n   --access-key-secret value, --secret value  AliYun's Access Key Secret\n   --ipapi value, --api value                 Web-API to Get IP, like: http://v6r.ipip.net\n   --ipv6, -6                                 IPv6\n   --help, -h                                 show help\n   --version, -v                              print the version\n```\n\n### CLI Example:\n\n```shell\naliddns --id ${AccessKeyID} --secret ${AccessKeySecret} \\\n    auto-update --domain ddns.example.win\n\naliddns --id ${AccessKeyID} --secret ${AccessKeySecret} \\\n    update --domain ddns.example.win \\\n    --ipaddr $(ifconfig pppoe-wan | sed -n '2{s/[^0-9]*://;s/[^0-9.].*//p}')\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhonwen%2Faliyun-ddns-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhonwen%2Faliyun-ddns-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhonwen%2Faliyun-ddns-cli/lists"}