跳转到内容
搜索文档

Internal DNS

最后更新 查看 MarkdownAgent 设置

使用 Cloudflare DNS 管理内部资源,简化私有网络管理。

Enterprise-only

管理仅应在私有网络内可访问的 DNS 记录。Internal DNS zoneviewGateway resolver 策略 配对,使您可以根据查询上下文(如查询源 IP)控制 DNS 查询的响应方式。

Internal DNS 包含在 Cloudflare Gateway 中,面向 Enterprise 客户。无需额外的 SKU 或单独订阅。

架构概览

您可以使用不同的连接选项将流量接入 Cloudflare。然后,Cloudflare Gateway resolver 作为 DNS 客户端和 Internal DNS zone 之间的接口。

Internal DNS zone 不会分配 Cloudflare nameserver,只能通过 Cloudflare Gateway resolver 查询。

flowchart LR
        accTitle: Internal DNS query overview
        accDescr: Diagram comparing internal DNS query with public DNS
        A[Client]
        subgraph Cloudflare account
        subgraph Gateway
				B[Default 1.1.1.1 resolver]
        X[Resolver policy selecting an internal DNS view]
        end
        subgraph Authoritative DNS
        Y[(Public DNS)]
				Z[(Internal DNS)]
        end
        end

			  C[Public resolver]

        B --Query--> Y
        X --Query + View ID--> Z
        A --Query--> B
				A --Query--> X
				C --Query--> Y

Internal DNS zone 分组为 DNS view,由您定义的 resolver 策略选择。View 通常是与您组织相关的逻辑分组,例如不同的地理位置。

flowchart LR
        accTitle: Internal DNS views and zones
        accDescr: Diagram exemplifying Internal DNS views and zones relationship
        subgraph Internal DNS
        subgraph View 111 - London
        Y[Zone 600 <br /> example.local]
				Z[Zone 601 <br /> local]
        end
        subgraph View 110 - San Francisco
        X[Zone 101 <br /> example.com]
				B[Zone 100 <br /> example.local]
				S[Zone 102 <br /> com]
        end
				W[Zone 701 <br /> net]
				end

Internal DNS zone 包含用于解析 Internal DNS 查询的DNS 记录。此外,如果在匹配的内部 zone 中未找到内部记录,Cloudflare 将检查匹配的内部 zone 是否引用另一个内部 zone

flowchart LR
        accTitle: Internal DNS zones and internal records
        accDescr: Diagram exemplifying Internal DNS zones and records relationship
        subgraph View 111 - London
				subgraph Zone 601 - local
				S["@ A 192.0.2.10"]
				T["ghi.example A 192.0.2.15"]
				end
        subgraph Zone 600 - example.local
				X["@ A 192.0.2.1"]
				Y["abc A 192.0.2.6"]
				Z["def A 192.0.2.9"]
				end
				end

在此示例中,路由到 view ID 111 的 ghi.example.local 查询将转到 zone 600,它呈现最长匹配的 zone 名称(example.local)。Zone 600 不包含 ghi 的记录,但如果它引用 zone 601,Cloudflare 将在引用 zone 中查找查询的记录。

资源

相关产品

Cloudflare Gateway

设置策略以检查 DNS、Network、HTTP 和 Egress 流量。

Cloudflare WAN

提高整个企业网络的安全性和性能,降低成本和操作复杂性。

这篇文档对您有帮助吗?