Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

是否支持IPV6? #11

Open
luckykeeper opened this issue Jul 24, 2022 · 0 comments
Open

是否支持IPV6? #11

luckykeeper opened this issue Jul 24, 2022 · 0 comments
Assignees
Labels
Milestone

Comments

@luckykeeper
Copy link

luckykeeper commented Jul 24, 2022

尝试解析了一下AAAA记录,似乎不支持IPV6?
以下是日志输出(已移除敏感信息)

[root@StationServer10 aliddns]# ./AliCloudDynamicDNS
[信息] 2022 年 07 月 24 日 12:10:28 - 当前配置内容如下:
监听的时间周期:0 秒
AccessId:************************
监听的主域名:luckykeeper.site
监听的子域名:
子域名地址1:ipv6.luckykeeper.site - 记录类型:AAAA
子域名地址2:v6blog.luckykeeper.site - 记录类型:AAAA

[正常] 2022 年 07 月 24 日 12:10:28 - 程序已经开始运行...
[信息] 2022 年 07 月 24 日 12:10:29 - 远程API获取的域名[luckykeeper.site]的解析记录有:20条
[信息] 2022 年 07 月 24 日 12:10:30 - 已获取本机公网IP:[************](获取的是IPV4的公网)
[错误] 2022 年 07 月 24 日 12:10:30 - 更新API解析出错,错误原因为:
Object reference not set to an instance of an object.
[正常] 2022 年 07 月 24 日 12:10:30 - 程序执行完成...

settings.json 配置如下

{
// 阿里云的 Access Id。
"AccessId": "",
// 阿里云的 Access Key。
"AccessKey": "
***",
// 主域名。
"MainDomain": "luckykeeper.site",
// 需要批量变更的子域名记录集合。
"SubDomains": [
{
// 子域名记录类型。
"Type": "AAAA",
// 子域名记录前缀。
"SubDomain": "ipv6",
// TTL 时间。
"Interval": 600
},
{
"Type": "AAAA",
"SubDomain": "v6blog",
"Interval": 600
}
]
}

@real-zony real-zony self-assigned this Aug 20, 2022
@real-zony real-zony added the 优化 原有功能优化 label Aug 20, 2022
@real-zony real-zony added improve and removed 优化 原有功能优化 labels Dec 12, 2023
@real-zony real-zony added this to the v1.0.0 milestone Dec 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants