DDNS
DDNS copied to clipboard
[debug] 一直提示[ERROR] hostname 'api.cloudflare.com' doesn't match 'router.我的域名.com' 小白一枚,求大佬赐教
描述问题 (Describe the bug)
版本信息 (version info)
- DDNS Version: v2.13.3@2023-04-19T11:44:58+00:00
- OS Version: docker镜像
- Type(运行方式): Binary/Python2/Python3
- related issues (相关问题):
复现步骤 (To Reproduce)
配置文件 (config file)
{
"$schema": "https://ddns.newfuture.cc/schema/v2.8.json",
"id": "",
"token": "API 令牌",
"dns": "cloudflare",
"ipv4": "router.我的域名.com",
"index4": "url:http://ip.42.pl/raw",
"ttl": 600,
"proxy": "192.168.0.3:23332;DIRECT",
"debug": false
}
调试输出 (debug output)
粘贴输出日志
/ # ./ddns -c config.json --debug
DDNS[ v2.13.3@2023-04-19T11:44:58+00:00 ] run: posix linux
Configuration was loaded from <== /config.json
========================= Fri Aug 4 07:59:47 2023 =========================
2023-08-04 07:59:47,051 <cache.load> 48@util/cache.py
[DEBUG] load cache data from /tmp/ddns.cache
2023-08-04 07:59:47,052 <run.main> [email protected]
[WARNING] Cache file is out of dated.
2023-08-04 07:59:47,052 <ip._open> 51@util/ip.py
[DEBUG] open: http://ip.42.pl/raw
2023-08-04 07:59:47,702 <ip._open> 55@util/ip.py
[DEBUG] response: ***.***.***.***
Fri Aug 4 07:59:47 2023 router.我的域名.com(A) ==> **.***.***.110 [via 192.168.0.3:23332]
2023-08-04 07:59:47,704 <cloudflare.update_record> 135@dns/cloudflare.py
[INFO] >>>>>router.我的域名.com(A)
2023-08-04 07:59:47,704 <cloudflare.request> 44@dns/cloudflare.py
[INFO] api.cloudflare.com/ : {'name': '我的域名.com'}
2023-08-04 07:59:47,761 <run.change_dns_record> [email protected]
[ERROR] hostname 'api.cloudflare.com' doesn't match 'router.我的域名.com'
Fri Aug 4 07:59:47 2023 router.我的域名.com(A) ==> **.***.***.*** [via DIRECT]
2023-08-04 07:59:47,765 <cloudflare.update_record> 135@dns/cloudflare.py
[INFO] >>>>>router.我的域名.com(A)
2023-08-04 07:59:47,765 <cloudflare.request> 44@dns/cloudflare.py
[INFO] api.cloudflare.com/ : {'name': '我的域名.com'}
2023-08-04 07:59:47,820 <run.change_dns_record> [email protected]
[ERROR] hostname 'api.cloudflare.com' doesn't match 'router.我的域名.com'
2023-08-04 07:59:47,823 <cache.sync> 85@util/cache.py
[DEBUG] save cache data to /tmp/ddns.cache
补充说明 (Additional context)
我也不知道有没有解析成功,但是他一直跳这个错误
我的域名是不是填错了?