{"id":19068629,"url":"https://github.com/lydanne/ddns-for-nodejs","last_synced_at":"2025-07-29T16:39:00.647Z","repository":{"id":124482315,"uuid":"197682596","full_name":"Lydanne/ddns-for-nodejs","owner":"Lydanne","description":"DDNS For NodeJs","archived":false,"fork":false,"pushed_at":"2019-07-19T02:05:05.000Z","size":22,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-02T15:24:17.212Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/Lydanne.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":"2019-07-19T01:47:40.000Z","updated_at":"2020-02-26T09:27:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"c3164260-96a7-4cef-b172-39e4ccb820b1","html_url":"https://github.com/Lydanne/ddns-for-nodejs","commit_stats":null,"previous_names":["lydanne/ddns-for-nodejs"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lydanne%2Fddns-for-nodejs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lydanne%2Fddns-for-nodejs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lydanne%2Fddns-for-nodejs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lydanne%2Fddns-for-nodejs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Lydanne","download_url":"https://codeload.github.com/Lydanne/ddns-for-nodejs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240122476,"owners_count":19751140,"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":[],"created_at":"2024-11-09T01:10:39.215Z","updated_at":"2025-02-22T03:29:55.937Z","avatar_url":"https://github.com/Lydanne.png","language":"JavaScript","readme":"# DDNS For NodeJs\n\n[GIT仓库](https://github.com/holleworldabc/ddns-for-nodejs.git)\n\n## 引言\nDDNS For NodeJs 是使用nodejs实现的DDNS的工具，通过腾讯云API实现的动态域名解析。\n解决在一些情况下IP地址不停更换的问题。\n\n## 适用\n- 家庭宽带的ip变化\n\n## 准备\n- 安装NODEJS\n- 安装pm2\n- 腾讯云的域名\n\n## 配置文件\n\n```js\n//config.js\nmodule.exports = {\n    SecretId:\"\",\n    SecretKey:\"\",\n    SignatureMethod:\"HmacSHA256\", //只支持HmacSHA256与HmacSHA1\n    domain:\"\", //域名 eg:test.com\n    subDomain:\"\",//子域名 eg:web\n    recordType:\"A\",\n    recordLine:\"默认\",\n    network:\"ppp0\" //表示网卡的名称，ppp0表示linux宽带拨号默认虚拟网卡\n}\n```\n\n## 启动DDNS\n```cmd\ngit clone https://github.com/holleworldabc/ddns-for-nodejs.git\ncd ddns-for-nodejs\npm2 start app.js --name DDNS\n```\n\n## 停止DDNS\n```cmd\npm2 stop DDNS\n```\n## 开机自启\n```cmd\npm2 save\npm2 startup\n```\n\n## 结束\n有问题可以回复。","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flydanne%2Fddns-for-nodejs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flydanne%2Fddns-for-nodejs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flydanne%2Fddns-for-nodejs/lists"}