Update README.md
This commit is contained in:
1 parent
909ca43215
commit
c2b94618b0
1 file changed
+11
-7
@@ -1,6 +1,6 @@
|
|||||||
# ArDNSPod
|
# ArDNSPod
|
||||||
|
|
||||||
基于 DNSPod 用户 API 实现的纯 Shell 动态域名客户端,优先适配网卡地址,无法获得合法外网地址则使用外部接口获取 IP 地址
|
基于 DNSPod 用户 API 实现的纯 Shell 动态域名客户端。IPv4优先适配网卡地址,无法获得合法外网地址则使用dnspod接口填充IP;ipv6 直接从外部接口获取地址。
|
||||||
|
|
||||||
# 使用方法
|
# 使用方法
|
||||||
|
|
||||||
@@ -14,12 +14,10 @@
|
|||||||
Fetching Host Ip
|
Fetching Host Ip
|
||||||
> Host Ip: 11.22.33.55
|
> Host Ip: 11.22.33.55
|
||||||
> Record Type: A
|
> Record Type: A
|
||||||
Fetching Ids of test.rehi.org
|
Fetching Record Id of test.rehi.org
|
||||||
> Domain Ids: 84982658 766956386
|
> Record Id: 766956386
|
||||||
Checking Record for test.rehi.org
|
Updating Record Value for test.rehi.org
|
||||||
> Last Ip: 11.22.33.77
|
> arDdnsUpdate - successful
|
||||||
Updating Record for test.rehi.org
|
|
||||||
> arDdnsUpdate - success
|
|
||||||
```
|
```
|
||||||
|
|
||||||
### 小提示
|
### 小提示
|
||||||
@@ -33,6 +31,12 @@ echo "arDdnsCheck test.org subdomain" >> ./ardnspod
|
|||||||
|
|
||||||
# 最近更新
|
# 最近更新
|
||||||
|
|
||||||
|
2022/03/11
|
||||||
|
|
||||||
|
- 改用ddns接口更新数据
|
||||||
|
- ipv4 先从本机获取,若没有合法地址,则使用dnspod接口填充IP
|
||||||
|
- ipv6 本机获取难度太大,且错误率高,改为直接从外部接口获取地址
|
||||||
|
|
||||||
2021/11/25
|
2021/11/25
|
||||||
|
|
||||||
- 优先选择剩余时间最长的ipv6地址 [@kaedeair](https://github.com/kaedeair/dnspod-shell)
|
- 优先选择剩余时间最长的ipv6地址 [@kaedeair](https://github.com/kaedeair/dnspod-shell)
|
||||||
|
|||||||
Reference in new issue
Block a user