Charles94jp / NameSilo-DDNS

动态域名解析程序: A python Dynamic DNS service for NameSilo, with logger, email notification, docker support, IPv6 support.

Home Page:https://hub.docker.com/r/charles94jp/ddns/tags

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

报错

nxydyxsj123456 opened this issue · comments

2023-07-20 14:29:40,616 - CurrentIP.fetch[line:71] - ERROR: error code: count=2
2023-07-20 14:29:43,174 - CurrentIP.fetch[line:76] - INFO: current host ip: 222.205.75.76
2023-07-20 14:29:43,174 - DDNS.start[line:202] - ERROR: 'domain_ip'
Traceback (most recent call last):
File "/home/NameSilo-DDNS/ddns.py", line 186, in start
if (enable_ipv4 and not self._namesilo_client.ip_equal(current_ip)) or
File "/home/NameSilo-DDNS/lib/namesilo_client.py", line 198, in ip_equal
result = result & (ip == domain['domain_ip'])
KeyError: 'domain_ip'

信息太少了,看起来是配置文件没填写对或者没加载上。看看你的配置文件conf/conf.json, 替换、脱敏key、域名等敏感信息再发上来。