如果您在添加域名到 Cloudflare 时遇到问题,请按以下故障排除步骤操作。
当域名 registrar 处启用了 DNSSEC 时,Cloudflare 无法为域名提供权威 DNS 解析——即主要设置(完整)上的域名。
如果您在更改 nameserver 之前未禁用 DNSSEC,可能会遇到以下问题:
- 切换到 Cloudflare nameserver 后 DNS 无法解析。
- DNS 查询响应状态为
SERVFAIL。 - 域名保持在待处理状态。
如果遇到这些问题,请参阅 配置 DNSSEC 和 DNSSEC 故障排除。
如果问题出在 registrar,您可能会收到以下错误消息:
exampledomain.com is not a registered domain (Code: 1049)(exampledomain.com 不是已注册域名)We were unable to identify bad.psl-example as a registered domain. Please ensure you are providing the root domain and not any subdomains (e.g., example.com, not subdomain.example.com) (Code: 1099)(无法将 bad.psl-example 识别为已注册域名。请确保提供的是根域名而非任何子域名)Failed to lookup registrar and hosting information of exampledomain.com at this time. Please contact Cloudflare Support or try again later. (Code: 1110)(目前无法查找 exampledomain.com 的注册商和托管信息。请联系 Cloudflare Support 或稍后重试)
如果收到这些错误消息,请确保:
- 您提供的是 apex 域名(也称为"根域名",例如
example.com),而不是子域名(www.example.com)。 - 您的域名已完全注册,且注册数据列出了其 nameserver。
- 您的域名使用已验证的顶级域名(TLD) ↗。
在将域名添加到 Cloudflare 之前,该域名必须为有效、可用的 nameserver 返回 NS 记录。可以通过第三方在线工具(如 https://www.whatsmydns.net ↗)或使用 dig 命令通过命令行终端检查 NS 记录:
dig +short ns cloudflare.com
ns3.cloudflare.com.
ns4.cloudflare.com.
ns5.cloudflare.com.
ns6.cloudflare.com.
ns7.cloudflare.com.此外,查询时域名必须返回有效的 SOA 记录。可以通过第三方在线工具(如 https://www.whatsmydns.net ↗)或通过命令行终端检查 SOA 记录:
dig +short soa cloudflare.com
ns3.cloudflare.com. dns.cloudflare.com. 2029202248 10000 2400 604800 300如果 Cloudflare 对域名有临时或永久限制,您将收到以下错误:
- 错误 1105
- 消息:
Error with Cloudflare request: [1105] This zone is temporarily restricted and cannot be added to Cloudflare at this time, please contact Cloudflare Support. - 原因:我们检测到过多尝试将域名添加到 Cloudflare 的操作
- 解决方法:等待 3 小时后再尝试重新添加域名到 Cloudflare。支持无法加快此过程。
- 消息:
- 错误 1093 或 1116
- 消息:
This zone cannot be added to Cloudflare at this time, please contact Cloudflare Support. (Code: 1093) - 原因:您可能输入了子域名(
www.example.com)而不是 apex 域名(也称为"根域名",例如example.com)。 - 解决方法:验证您输入的是 apex 域名。如果是但仍遇到问题,请联系 Cloudflare Support。
- 消息:
- 错误 1097
- 消息:
This web property cannot be added to Cloudflare at this time. If you are an Enterprise customer, contact your Customer Success Manager. Otherwise, email abusereply@cloudflare.com with a detailed explanation of your association with this zone. (Code: 1097) - 解决方法:向 abusereply@cloudflare.com 发送电子邮件,详细说明您与此 zone 的关联。
- 消息:
- 错误:找不到 或
<your domain>is not a registered domain (code: 1049)- 如果域名尚未注册,可能会发生这种情况。某些域名(如
.gov域名)有特殊要求,需要先添加域名。 - 解决方法: 如果您需要协助添加
.gov和/或其他需要手动注册的域名,请联系 Cloudflare Support。
- 如果域名尚未注册,可能会发生这种情况。某些域名(如
Enterprise 客户可使用 zone hold 功能,防止域名被添加到任何其他账户。 如果添加域名时出现以下错误,则表示 zone hold 处于活动状态:
The zone name provided is subject to a hold which disallows the creation of this zone.
Please contact the owner of the Cloudflare account that manages this domain to have this hold removed.在这种情况下,如果您拥有 zone 处于活动状态的 Cloudflare 账户,需要移除 zone hold;或者联系拥有该活动 zone 的 Cloudflare 账户所有者。
如果您不是对该 zone 设置 hold 的 Cloudflare 账户所有者,使用在线 WHOIS 工具可能有助于找到网站所有者。
请参阅此外部 WHOIS 工具 ↗或另一个外部工具 ↗。
所有者可能是您的托管提供商或 SaaS 服务提供商。
您还可以使用 Cloudflare Forgot Email? ↗ 页面,并查看与 Forgot Email? 功能相关的文档。