File tree Expand file tree Collapse file tree 1 file changed +44
-0
lines changed
Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Original file line number Diff line number Diff line change 1+ ## 使用说明
2+
3+ AliDDNSNet 是基于 .NET Core 开发的动态 DNS 解析工具,借助于阿里云的 DNS API 来实现域名与动态 IP 的绑定功能。
4+
5+ 使用时请更改同目录下的 ``` settings.json.example ``` 为 ``` settings.json ``` 文件,同时也可以显示通过 ``` -f ``` 参数来制定配置文件路径。例如:
6+
7+ ``` shell
8+ dotnet ./AliDDNSNet.dll -f ./settings.json2
9+ ```
10+
11+ ``` shell
12+ ./AliDDNSNet -f ./settings.json3
13+ ```
14+
15+ ## 配置说明:
16+
17+ 通过更改 ``` settings.json ``` /``` settings.json.example ``` 的内容来实现 DDNS 更新。
18+
19+ ``` json
20+ {
21+ // 阿里云的 Access Id
22+ "access_id" : " " ,
23+ // 阿里云的 Access Key
24+ "access_key" : " " ,
25+ // TTL 时间
26+ "interval" : 600 ,
27+ // 主域名
28+ "domain" : " example.com" ,
29+ // 子域名前缀
30+ "sub_domain" : " test" ,
31+ // 记录类型
32+ "type" : " A"
33+ }
34+ ```
35+
36+ 其中 Access Id 与 Access Key 可以登录阿里云之后在右上角可以得到。
37+
38+ ## 下载地址
39+
40+ 程序打包了 Linux-x64 与 Linux arm 环境的二进制可执行文件,你可以直接下载对应的压缩包解压到你的路由器或者 NAS 里面进行运行。
41+
42+ 如果你的设备支持 Docker 环境,建议通过 Docker 运行 .NET Core 2.1 环境来执行本程序。
43+
44+ [ 下载地址在这儿] ( https:// )
You can’t perform that action at this time.
0 commit comments