Skip to content

Commit 2ad41f7

Browse files
author
Zony
authored
Create README.md
1 parent b70a3e0 commit 2ad41f7

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed

README.md

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
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://)

0 commit comments

Comments
 (0)