NewFuture / DDNS

:triangular_flag_on_post: 自动更新域名解析到本机IP(支持dnspod,阿里DNS,CloudFlare,华为云,DNSCOM...)
https://ddns.newfuture.cc/
MIT License
4.31k stars 657 forks source link

[debug] [ERROR] invalid domain #282

Closed interestingcn closed 3 years ago

interestingcn commented 3 years ago

Windwos下打包文件部分平台出现invalid domain

version info [基本信息]

config file [配置文件]

{
  "$schema": "https://ddns.newfuture.cc/schema/v2.8.json",
  "debug": true,
  "dns": "dnspod",
  "id": "2xxxxx",
  "index4": "default",
  "index6": "default",
  "ipv4": [
    "ipv4.homepc.interestingcn01.top",
    "ddns.homepc.interestingcn01.top"
  ],
  "ipv6": [
    "ipv6.homepc.interestingcn01.top",
    "ddns.homepc.interestingcn01.top"
  ],
  "proxy": null,
  "token": "xxxxxx",
  "ttl": null
}

debug output [调试输出]

========================= Wed Aug 25 06:33:47 2021 =========================
2021-08-25 06:33:47,633 <cache.load> 48@util\cache.py
[DEBUG] load cache data from C:\Users\ADMINI~1\AppData\Local\Temp\ddns.cache

ipv4.homepc.interestingcn01.top(A) ==> 192.168.0.117 [via DIRECT]
2021-08-25 06:33:47,633 <dnspod.update_record> 153@dns\dnspod.py
[INFO] >>>>>ipv4.homepc.interestingcn01.top(A)
2021-08-25 06:33:47,633 <dnspod.request> 48@dns\dnspod.py
[INFO] dnsapi.cn/Domain.Info : {'domain': 'interestingcn01.top', 'login_token':
'***', 'format': 'json'}
2021-08-25 06:33:47,913 <dnspod.request> 48@dns\dnspod.py
[INFO] dnsapi.cn/Domain.Info : {'domain': 'homepc.interestingcn01.top', 'login_t
oken': '***', 'format': 'json'}
2021-08-25 06:33:48,116 <dnspod.request> 48@dns\dnspod.py
[INFO] dnsapi.cn/Domain.Info : {'domain': 'ipv4.homepc.interestingcn01.top', 'lo
gin_token': '***', 'format': 'json'}
2021-08-25 06:33:48,319 <dnspod.get_domain_info> 93@dns\dnspod.py
[INFO] domain_id: None, sub: None
2021-08-25 06:33:48,319 <run.change_dns_record> 83@run.py
[ERROR] invalid domain: [ ipv4.homepc.interestingcn01.top ]

ddns.homepc.interestingcn01.top(A) ==> 192.168.0.117 [via DIRECT]
2021-08-25 06:33:48,319 <dnspod.update_record> 153@dns\dnspod.py
[INFO] >>>>>ddns.homepc.interestingcn01.top(A)
2021-08-25 06:33:48,319 <dnspod.request> 48@dns\dnspod.py
[INFO] dnsapi.cn/Domain.Info : {'domain': 'interestingcn01.top', 'login_token':
'***', 'format': 'json'}
2021-08-25 06:33:48,522 <dnspod.request> 48@dns\dnspod.py
[INFO] dnsapi.cn/Domain.Info : {'domain': 'homepc.interestingcn01.top', 'login_t
oken': '***', 'format': 'json'}
2021-08-25 06:33:48,709 <dnspod.request> 48@dns\dnspod.py
[INFO] dnsapi.cn/Domain.Info : {'domain': 'ddns.homepc.interestingcn01.top', 'lo
gin_token': '***', 'format': 'json'}
2021-08-25 06:33:48,912 <dnspod.get_domain_info> 93@dns\dnspod.py
[INFO] domain_id: None, sub: None
2021-08-25 06:33:48,912 <run.change_dns_record> 83@run.py
[ERROR] invalid domain: [ ddns.homepc.interestingcn01.top ]

ipv6.homepc.interestingcn01.top(AAAA) ==> 2409:8a3c:392e:c62:a144:46a1:b0d7:b8c1
 [via DIRECT]
2021-08-25 06:33:48,912 <dnspod.update_record> 153@dns\dnspod.py
[INFO] >>>>>ipv6.homepc.interestingcn01.top(AAAA)
2021-08-25 06:33:48,912 <dnspod.request> 48@dns\dnspod.py
[INFO] dnsapi.cn/Domain.Info : {'domain': 'interestingcn01.top', 'login_token':
'***', 'format': 'json'}
2021-08-25 06:33:49,099 <dnspod.request> 48@dns\dnspod.py
[INFO] dnsapi.cn/Domain.Info : {'domain': 'homepc.interestingcn01.top', 'login_t
oken': '***', 'format': 'json'}
2021-08-25 06:33:49,286 <dnspod.request> 48@dns\dnspod.py
[INFO] dnsapi.cn/Domain.Info : {'domain': 'ipv6.homepc.interestingcn01.top', 'lo
gin_token': '***', 'format': 'json'}
2021-08-25 06:33:49,489 <dnspod.get_domain_info> 93@dns\dnspod.py
[INFO] domain_id: None, sub: None
2021-08-25 06:33:49,489 <run.change_dns_record> 83@run.py
[ERROR] invalid domain: [ ipv6.homepc.interestingcn01.top ]

ddns.homepc.interestingcn01.top(AAAA) ==> 2409:8a3c:392e:c62:a144:46a1:b0d7:b8c1
 [via DIRECT]
2021-08-25 06:33:49,489 <dnspod.update_record> 153@dns\dnspod.py
[INFO] >>>>>ddns.homepc.interestingcn01.top(AAAA)
2021-08-25 06:33:49,505 <dnspod.request> 48@dns\dnspod.py
[INFO] dnsapi.cn/Domain.Info : {'domain': 'interestingcn01.top', 'login_token':
'***', 'format': 'json'}
2021-08-25 06:33:49,707 <dnspod.request> 48@dns\dnspod.py
[INFO] dnsapi.cn/Domain.Info : {'domain': 'homepc.interestingcn01.top', 'login_t
oken': '***', 'format': 'json'}
2021-08-25 06:33:49,910 <dnspod.request> 48@dns\dnspod.py
[INFO] dnsapi.cn/Domain.Info : {'domain': 'ddns.homepc.interestingcn01.top', 'lo
gin_token': '***', 'format': 'json'}
2021-08-25 06:33:50,097 <dnspod.get_domain_info> 93@dns\dnspod.py
[INFO] domain_id: None, sub: None
2021-08-25 06:33:50,113 <run.change_dns_record> 83@run.py
[ERROR] invalid domain: [ ddns.homepc.interestingcn01.top ]

Additional context 折腾了一个早上实在搞不明白了,相同内网两台机器相同的windows系统一台可以另一台就 invalid domain。重新配置过token,清理过缓存文件,问题依然这样。两份文件直接复制过去的,程序与配置文件完全相同。但又没法讲述如何复现,毕竟就这一台机器这样其他的也好好的,十分不解 希望作者百忙之中可指点一二。 20210825065432

NewFuture commented 3 years ago

在DNSPOD上没有查询到interestingcn01.top

interestingcn commented 3 years ago

在DNSPOD上没有查询到interestingcn01.top

image 可是我仔细检查过多遍没有问题的,并且在另外一台windows7主机上可以更新成功的...

NewFuture commented 3 years ago

配置文件是一样的么?

interestingcn commented 3 years ago

一样的,通过远程桌面直接拷贝过去的😂

---Original--- From: "New @.> Date: Wed, Aug 25, 2021 18:21 PM To: @.>; Cc: @.**@.>; Subject: Re: [NewFuture/DDNS] [debug] (#282)

配置文件是一样的么?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

interestingcn commented 3 years ago

配置文件是一样的么?

配置一样的,通过远程桌面直接拷贝过去的joy 刚才试了下源码运行也不行也是这个提示,哭辽。。。可能这台机器有毒

interestingcn commented 3 years ago

今天突然又正常了,我也不知道为什么哈哈哈哈唉先这么用吧感谢作者付出!那我就先关闭了,感谢您的回复

whqee commented 1 year ago

我用v2.11.5也是invalid domain,我换v2.10.3就OK了。环境LTS Kernel 5.15.71-1,Gnome Manjaro。