certbot-dns-dnspod icon indicating copy to clipboard operation
certbot-dns-dnspod copied to clipboard

_find_domain_id 抛异常 导致报错

Open hotraygroup opened this issue 3 years ago • 2 comments

通过接口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)】 会导致抛异常。

hotraygroup avatar Jan 11 '23 09:01 hotraygroup

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

dong-zeyu avatar Jun 21 '23 17:06 dong-zeyu

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

应该已经修复

tengattack avatar Mar 24 '24 19:03 tengattack