ddclient 连接到 Cloudflare 时返回 7000 错误

ddclient 连接到 Cloudflare 时返回 7000 错误

我正在使用 ddclient 设置 DDNS。我搜索了网络,但似乎没有任何帮助。我查看了示例,但不知道出了什么问题。我尝试使用 api.cloudflare.com/client/v4 和 www.cloudflare.com。我收到了以下错误消息:

RECEIVE:  HTTP/1.1 400 Bad Request
RECEIVE:  Date: Tue, 07 Apr 2020 12:04:43 GMT
RECEIVE:  Content-Type: application/json
RECEIVE:  Connection: close
RECEIVE:  Set-Cookie: __cfduid=dff567699cbfb04f2f63c38512956a4e01586261083; expires=Thu, 07-May-20 12:04:43 GMT; path=/; domain=.api.cloudflare.com; HttpOnly; SameSite=Lax
RECEIVE:  CF-Ray: 58039cdd1e84ff90-BOS
RECEIVE:  Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
RECEIVE:  Expires: Sun, 25 Jan 1981 05:00:00 GMT
RECEIVE:  Strict-Transport-Security: max-age=31536000
RECEIVE:  CF-Cache-Status: DYNAMIC
RECEIVE:  Expect-CT: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
RECEIVE:  Pragma: no-cache
RECEIVE:  X-Content-Type-Options: nosniff
RECEIVE:  X-Frame-Options: SAMEORIGIN
RECEIVE:  Server: cloudflare
RECEIVE:  
RECEIVE:  {"success":false,"errors":[{"code":7000,"message":"No route for that URI"}],"messages":[],"result":null}

ddclient.conf 如下所示:

daemon=300
ssl=yes
protocol=cloudflare
use=web
server=api.cloudflare.com/client/v4
[email protected]
password=correctglobalapikey
zone=skiscratcher.com
pi.skiscratcher.com

相关内容