tengattack / certbot-dns-dnspod

A certbot dns plugin to obtain certificates using dnspod.
Other
65 stars 18 forks source link

_find_domain_id 抛异常 导致报错 #13

Open hotraygroup opened 1 year ago

hotraygroup commented 1 year ago

通过接口https://dnsapi.cn/Domain.Info (https://docs.dnspod.cn/api/domain-info/)获取域名id时,如果被探测域名不存在,会返回错误码【13 当前域名有误,请返回重新操作。】,这种是正常的,应该跳过。现在的判定条件是【 not (str(e).startswith('Domain name invalid') or str(e).find('域名不正确') >= 0)】 会导致抛异常。

dong-zeyu commented 1 year ago

我这边现在的返回是“当前域名未添加解析,请返回域名列表”

tengattack commented 5 months ago

我这边现在的返回是“当前域名未添加解析,请返回域名列表”

应该已经修复