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

dnspod貌似无法接收ipv6更改 #260

Open
gzelvis opened this issue Jan 2, 2025 · 1 comment
Open

dnspod貌似无法接收ipv6更改 #260

gzelvis opened this issue Jan 2, 2025 · 1 comment

Comments

@gzelvis
Copy link

gzelvis commented Jan 2, 2025

首先,感谢老大为我们开发了那么好的软件并一直维护,我的故障问题如下

debian12,最新的3.2.1版本

同样的配置(认证参数),v4 是正常更新dnspod 域名ip的
换到了v6,认证参数一样,改了 IPv4 为IPv6 ,也换了ipv6的查询网址,可是运行后系统就卡在

systemctl status godnsv6

● godnsv6.service - GoDNS Service
Loaded: loaded (/etc/systemd/system/godnsv6.service; enabled; preset: enabled)
Active: active (running) since Fri 2025-01-03 02:01:02 CST; 56min ago
Main PID: 27554 (godnsv6)
Tasks: 9 (limit: 37960)
Memory: 4.6M
CPU: 21ms
CGroup: /system.slice/godnsv6.service
└─27554 /etc/godns/godnsv6 -c=/etc/godns/config6.json

Jan 03 02:01:02 LNC-NUC12pro systemd[1]: Started godnsv6.service - GoDNS Service.
Jan 03 02:01:02 LNC-NUC12pro godnsv6[27554]: time="2025-01-03T02:01:02+08:00" level=info msg="Creating DNS handler with provider: DNSPod"
Jan 03 02:01:02 LNC-NUC12pro godnsv6[27554]: time="2025-01-03T02:01:02+08:00" level=info msg="Web panel is disabled"
Jan 03 02:01:02 LNC-NUC12pro godnsv6[27554]: time="2025-01-03T02:01:02+08:00" level=info msg="GoDNS started, starting the DNS manager..."

configv6.json

{
"provider": "DNSPod",
"login_token": "id,token", # 这个应该没错的,因为同样的v4那个正常更新ip
"domains": [
{
"domain_name": "xxx.com",
"sub_domains": ["lnc6"]
}
],
"resolver": "1.1.1.1",
"ip_urls": [
"https://api6.ipify.org",
"https://api-ipv6.ip.sb/ip",
"https://ip2location.io/ip",
"https://v6.ipinfo.io/ip"
],
"ip_type": "IPv6",
"interval": 300,
"socks5_proxy": "",
"user_agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 17_7_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.4.1 Mobile/15E148 Safari/604.1"
}

就一直停在这里了,应该不是systemd的问题,我就改了个名字,另外同机器上运行了了一个v4 godns的实例,那个是很正常的。所以看是我config配置没对还是dnspod不支持更新v6?

@TimothyYe
Copy link
Owner

配置看起来没有什么问题,你的网络真的支持IPv6吗?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants