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

[debug]invalid domain #448

Open
SharwOrange opened this issue Oct 19, 2024 · 3 comments
Open

[debug]invalid domain #448

SharwOrange opened this issue Oct 19, 2024 · 3 comments
Labels

Comments

@SharwOrange
Copy link

SharwOrange commented Oct 19, 2024

描述问题 (Describe the bug)

版本信息 (version info)

  • DDNS Version: latest (v3.0.1)
  • OS Version: Linux 6.11.3-arch1-1
  • Type(运行方式): Binary
  • related issues (相关问题):

复现步骤 (To Reproduce)

添加DNSPOD token
修改配置文件

配置文件 (config file)

{
  "$schema": "https://ddns.newfuture.cc/schema/v2.8.json",
  "debug": true,
  "dns": "dnspod",
  "id": "48***7",
  "index4": "url:http://4.ipw.cn",
  "index6": "url:http://6.ipw.cn",
  "ipv4": [],
  "ipv6": ["server.hope-now.top"],
  "proxy": null,
  "token": "4c9f2e05*****************2075025",
  "ttl": null
}

调试输出 (debug output)

DDNS[ v3.0.2@2024-06-13T12:24:56+00:00 ] run: posix linux
Configuration was loaded from <== /home/sharworange/Server/ddns/config.json
========================= Sat Oct 19 14:45:35 2024 =========================
2024-10-19 14:45:35,640 <cache.load> 48@util/cache.py 
[DEBUG] load cache data from /tmp/ddns.cache
2024-10-19 14:45:35,640 <run.main> [email protected] 
[WARNING] Cache file is out of dated.
2024-10-19 14:45:35,640 <ip._open> 51@util/ip.py 
[DEBUG] open: http://6.ipw.cn
2024-10-19 14:45:36,030 <ip._open> 55@util/ip.py 
[DEBUG] response: 240e:3b0:6c06:a54:b051:3bf1:d016:5481

Sat Oct 19 14:45:36 2024 server.hope-now.top(AAAA) ==> 240e:3b0:6c06:a54:b051:3bf1:d016:5481 [via DIRECT]
2024-10-19 14:45:36,032 <dnspod.update_record> 153@dns/dnspod.py 
[INFO] >>>>>server.hope-now.top(AAAA)
2024-10-19 14:45:36,032 <dnspod.request> 48@dns/dnspod.py 
[INFO] dnsapi.cn/Domain.Info : {'domain': 'hope-now.top', 'login_token': '***', 'format': 'json'}
2024-10-19 14:45:36,108 <dnspod.request> 48@dns/dnspod.py 
[INFO] dnsapi.cn/Domain.Info : {'domain': 'server.hope-now.top', 'login_token': '***', 'format': 'json'}
2024-10-19 14:45:36,155 <dnspod.get_domain_info> 93@dns/dnspod.py 
[INFO] domain_id: None, sub: None
2024-10-19 14:45:36,155 <run.change_dns_record> [email protected] 
[ERROR] invalid domain: [ server.hope-now.top ] 
2024-10-19 14:45:36,155 <cache.sync> 85@util/cache.py 
[DEBUG] save cache data to /tmp/ddns.cache

补充说明 (Additional context)

@NewFuture
Copy link
Owner

hope-now.top是在这个DNSPOD账号下面吗?报错看,是查询不到这个域名

@SharwOrange
Copy link
Author

是在这个DNSPOD账号下,已经确认过了

@raymao9
Copy link

raymao9 commented Dec 29, 2024

DNSPod 的我试了好几个脚本没一个能用的,几乎都是获取不到域名信息,本来系统 Debian 11 不行,看别人说用 Ubuntu 可以,我装了 Ubuntu 22 也不行,换了 N 个 API Token 也没用,都是 DNSPod 的 Token,不是腾讯云的

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

3 participants