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] Cloudflare 只能获取第一页的五十个 zone 导致 invalid domain 错误 #324

Closed Anankke closed 2 years ago

Anankke commented 2 years ago

当域名数量大于 50 的时候,无法获取后面的 zone id,导致 invalid domain 错误。 https://github.com/NewFuture/DDNS/blob/8edd11dd3f242fb6115af712a93d90b1bc5d2c23/dns/cloudflare.py#L81 https://api.cloudflare.com/#zone-list-zones

NewFuture commented 2 years ago

确实是个BUG,缺个自动翻页