> For the complete documentation index, see [llms.txt](https://www.axisnow.io/zh/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.axisnow.io/zh/docs/multi-edge/use-cases/cloudflare-multi-cdn/partial-setup.md). Agents can also search and read this documentation through its [MCP server](https://www.axisnow.io/zh/docs/~gitbook/mcp).

# Cloudflare Partial Setup 接入

业务域名所在的 zone 以 Partial（CNAME）Setup 加入 Cloudflare、DNS 在其他服务商时，把 Cloudflare 加入聚合边缘的服务：AxisNow 直接在该 zone 内接入，不需要父 zone；适用条件、接入步骤，以及 zone 内已有记录时的处理

业务域名所在的 zone 已经以 Partial（CNAME）Setup 加入 Cloudflare、权威 DNS 仍在其他服务商时，AxisNow 直接在这个 zone 内接入域名，不使用 Cloudflare for SaaS，也不需要父 zone。

这种情形不能使用[一键解锁 Cloudflare CNAME 接入](https://www.axisnow.io/zh/docs/multi-edge/getting-started/unlock-cloudflare.md)，需要先创建服务，再把 Cloudflare 加入服务。其他情形的接入方式见[选择接入方式](https://www.axisnow.io/zh/docs/multi-edge/use-cases/cloudflare-multi-cdn.md#access-methods)。

## 适用条件 <a href="#when-to-use" id="when-to-use"></a>

* **zone 已以 Partial Setup 加入 Cloudflare**：Cloudflare 账号里有业务域名所在的 zone，状态为 Active，zone 的 DNS 页面显示 **DNS Setup: Partial**。
* **zone 的套餐为 Business 或 Enterprise**：Partial（CNAME）Setup 是 Cloudflare 官方的 CNAME 接入方式，只对这两个套餐开放。

## 工作方式 <a href="#how-it-works" id="how-it-works"></a>

<figure><img src="https://3062891322-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKDgGNU6JXG7cqYCk2aCz%2Fuploads%2Fgit-blob-371083d7b868f688f7e00f67c81204e46b9d38ce%2Fcloudflare-partial-setup.png?alt=media" alt="Partial Setup 接入的解析与请求路径：DNS 在其他服务商的业务域名 CNAME 到服务 CNAME，由服务 CNAME 调度到 Cloudflare 的接入地址 www.acme.com.cdn.cloudflare.net 或其他边缘提供商的接入地址；调度到 Cloudflare 时，Cloudflare 按域名自己的 zone 内的 Proxied 记录处理请求并回源"><figcaption></figcaption></figure>

* **记录**：AxisNow 直接在这个 zone 内为域名写入指向源站的 Proxied 记录。不使用 Custom Hostname，不需要父 zone，也不需要添加验证记录。
* **证书**：使用服务的证书，由 AxisNow 同步为 zone 的自定义证书，见[证书](https://www.axisnow.io/zh/docs/multi-edge/certificates.md#provider-sync-behavior)。
* **接入地址**：这家边缘的 **CNAME** 是 `<域名>.cdn.cloudflare.net`，其中的域名取服务的第一个域名，服务内的域名共用这一个地址。路由规则选中 Cloudflare 时，DNS 把它返回给访客。

## 接入步骤 <a href="#steps" id="steps"></a>

1. **集成 Cloudflare**：按[集成 Cloudflare](https://www.axisnow.io/zh/docs/multi-edge/integrations/cloudflare.md)添加 API Token，Token 的 **Zone Resources** 要包含业务域名所在的 zone。
2. **创建服务**：在 **服务** 中点击 **添加服务**，见[分步骤配置](https://www.axisnow.io/zh/docs/multi-edge/getting-started/step-by-step-configuration.md#create-service)。
3. **以配置同步方式加入 Cloudflare**：在服务的 **边缘提供商** 标签页点击 **添加边缘提供商**，选择 **新建并配置同步（Provision）** 和已集成的 Cloudflare 账号。首次为服务添加边缘时，在 **设置** 步骤填写域名、源站和证书。AxisNow 识别出 zone 使用 Partial Setup 后，这一步只显示识别结果，例如 `Zone acme.com (Business) · DNS Setup: Partial`，没有需要选择的项。检查通过后点击 **配置同步**。向导的各个步骤见[边缘提供商](https://www.axisnow.io/zh/docs/multi-edge/services/edge-providers.md)。
4. **验证后切换 DNS**：这家边缘变为已生效后，先用 **测试边缘提供商** 确认它能正确返回站点内容，再把业务域名 CNAME 到服务 CNAME，见[测试与验证](https://www.axisnow.io/zh/docs/multi-edge/services/edge-providers/testing.md)。

Cloudflare 接入服务之后，添加第二家边缘和配置路由规则的做法见 [将 Cloudflare 升级为多 CDN](https://www.axisnow.io/zh/docs/multi-edge/use-cases/cloudflare-multi-cdn.md#step-add-edge)。

## 注意事项 <a href="#notes" id="notes"></a>

* **zone 不满足条件时不能继续**：zone 未激活，或套餐不是 Business 或 Enterprise 时，检查不通过，**配置同步** 按钮不可用。
* **域名在 zone 里已有记录时**：站点已经通过 Partial Setup 运行在 Cloudflare 上就属于这种情况。记录指向所选源站且为 Proxied 的，AxisNow 直接沿用。否则该域名一行的 **状态** 提示需要处理，展开可以看到记录现在的指向和改写后的指向；勾选表格下方的 **允许把上面已存在的域名改为回源到本服务的源站。** 后，AxisNow 把记录改为指向所选源站并开启代理。要保留现在的回源，把源站选为记录当前指向的地址即可。改写时有一两秒没有记录，正在承载流量的域名请在低峰时段操作。
* **也可以不让 AxisNow 管理配置**：站点已经运行在 Cloudflare 上、配置想继续自己维护时，改以仅调度（Steer）方式加入，**CNAME** 填 `<业务域名>.cdn.cloudflare.net`。AxisNow 不改动 Cloudflare 上的任何配置，只让它参与调度，见[仅调度](https://www.axisnow.io/zh/docs/multi-edge/services/edge-providers/steer.md)。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://www.axisnow.io/zh/docs/multi-edge/use-cases/cloudflare-multi-cdn/partial-setup.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
