{"id":19681040,"url":"https://github.com/wang-jun-coder/wj-ddns","last_synced_at":"2026-04-12T23:05:13.686Z","repository":{"id":57398533,"uuid":"164386052","full_name":"wang-jun-coder/wj-ddns","owner":"wang-jun-coder","description":"动态设置域名解析至本地公网 ip 的命令行工具","archived":false,"fork":false,"pushed_at":"2019-09-03T07:34:46.000Z","size":16,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-13T02:56:52.204Z","etag":null,"topics":["aliyun-ddns","ddns"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/wang-jun-coder.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}},"created_at":"2019-01-07T06:08:03.000Z","updated_at":"2021-03-31T19:18:08.000Z","dependencies_parsed_at":"2022-09-12T05:00:27.049Z","dependency_job_id":null,"html_url":"https://github.com/wang-jun-coder/wj-ddns","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wang-jun-coder%2Fwj-ddns","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wang-jun-coder%2Fwj-ddns/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wang-jun-coder%2Fwj-ddns/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wang-jun-coder%2Fwj-ddns/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wang-jun-coder","download_url":"https://codeload.github.com/wang-jun-coder/wj-ddns/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240990719,"owners_count":19889929,"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","ddns"],"created_at":"2024-11-11T18:06:48.590Z","updated_at":"2026-04-12T23:05:13.601Z","avatar_url":"https://github.com/wang-jun-coder.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# wj-ddns\n动态设置域名解析至本地公网 ip 的命令行工具\n\n## 安装\n```\nnpm install wj-ddns -g\n```\n\n## 使用方式\n### 启动 ddns 任务\n \n```\n/**\nwj-ddns: \t\t\tcli 命令\nsetup: \t\t\t\t启动子命令\nwangjuncoder.cn: \t\t要设置的域名\ntest: \t\t\t\t映射子域名，设置后将使用 test.wangjuncoder.cn 配置\n -k xxx: \t\t\t使用 -k 指定阿里云中的 AccessKeyId（注意需要有域名解析权限）\n -s xxx:\t\t\t使用 -s 指定阿里云中的 AccessKeySecret\n -t 10:\t\t\t\t使用 -t 指定工具扫描间隔，单位：分钟\n*/ \nwj-ddns setup wangjuncoder.cn test -k xxx -s xxx -t 10\n\n```\n\n### 列出 ddns 任务\n```\nwj-ddns list\n```\n\n### 删除 ddns 任务\n```\n// 删除指定任务\nwj-ddns stop wangjuncoder.cn test\n\n// 删除所有任务\nwj-ddns stop -a\n```\n\n\n### 注意事项\n* Node.js \u003e= 8.x\n* 域名解析服务使用阿里云服务\n* 可将域名解析至本地公网 ip 后不代表可以访问，还需光猫路由等进行端口映射\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwang-jun-coder%2Fwj-ddns","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwang-jun-coder%2Fwj-ddns","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwang-jun-coder%2Fwj-ddns/lists"}