DnsView
Source:
src/Cloudflare/Dns/View.ts
An Internal DNS view (/accounts/{account_id}/dns_settings/views) —
a named set of internal zones that DNS queries can be resolved
against, for split-horizon / internal DNS setups.
Requires the Enterprise Internal DNS entitlement on the account
(creation fails with InternalDnsNotAvailable otherwise). Both
name and zones are mutable in place.
Creating a View
Section titled “Creating a View”View over internal zones
const view = yield* Cloudflare.DnsView("Internal", { zones: [internalZone.zoneId],});View with an explicit name
const view = yield* Cloudflare.DnsView("Internal", { name: "datacenter-east", zones: [zoneA.zoneId, zoneB.zoneId],});