DDNS icon indicating copy to clipboard operation
DDNS copied to clipboard

[debug]invalid domain

Open SharwOrange opened this issue 1 year ago • 3 comments

描述问题 (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)

SharwOrange avatar Oct 19 '24 06:10 SharwOrange

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

NewFuture avatar Oct 23 '24 04:10 NewFuture

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

SharwOrange avatar Oct 23 '24 05:10 SharwOrange

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

raymao9 avatar Dec 29 '24 06:12 raymao9