ZoneTransferIncoming
Source:
src/Cloudflare/Dns/ZoneTransferIncoming.ts
The incoming zone-transfer configuration of a secondary zone
(/zones/{zone_id}/secondary_dns/incoming) — links the zone to the
{@link ZoneTransferPeer | peers} Cloudflare transfers it in from and
sets the auto-refresh interval.
Requires the Secondary DNS (zone transfer) entitlement, and the zone
must be created with type: "secondary". The configuration is a
per-zone singleton: zoneId is the identity (replacement on change),
everything else is mutable in place.
Configuring incoming transfers
Section titled “Configuring incoming transfers”const peer = yield* Cloudflare.ZoneTransferPeer("Primary", { ip: "192.0.2.53", port: 53,});yield* Cloudflare.ZoneTransferIncoming("Incoming", { zoneId: zone.zoneId, name: "example.com.", peers: [peer.peerId], autoRefreshSeconds: 86400,});