Skip to content

ZoneTransferAcl

Source: src/Cloudflare/Dns/ZoneTransferAcl.ts

A Secondary DNS zone-transfer ACL (/accounts/{account_id}/secondary_dns/acls) — an account-wide IPv4/IPv6 range that may receive NOTIFYs for secondary zones and from which Cloudflare accepts AXFR/IXFR requests for outgoing transfers.

Requires the Secondary DNS (zone transfer) entitlement on the account. Both name and ipRange are mutable in place.

Allow a primary nameserver range

const acl = yield* Cloudflare.ZoneTransferAcl("PrimaryNs", {
ipRange: "192.0.2.48/28",
});

ACL with an explicit name

const acl = yield* Cloudflare.ZoneTransferAcl("PrimaryNs", {
name: "primary-nameservers",
ipRange: "2001:db8::/64",
});