Cloudflare/secondary Dns
@swamp/cloudflare/secondary-dnsv2026.05.22.1
01README
Cloudflare secondary-dns infrastructure models
02Release Notes
- Added: acls
- Added: peers
- Added: tsigs
03Models
@swamp/cloudflare/secondary-dns/aclsv2026.05.22.1acls.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| account_id | string | Cloudflare account ID |
| id? | string | |
| ip_range | string | Allowed IPv4/IPv6 address range of primary or secondary nameservers. This will be applied for the entire account. The IP range is used to allow additional NOTIFY IPs for secondary zones and IPs Cloudflare allows AXFR/IXFR requests from for primary zones. CIDRs are limited to a maximum of /24 for IPv4 and /64 for IPv6 respectively. |
| name | string | The name of the acl. |
fn create()
Create a Acls
fn get(id: string)
Get a Acls
| Argument | Type | Description |
|---|---|---|
| id | string | The ID of the Acls |
fn update()
Update Acls attributes
fn delete(id: string)
Delete the Acls
| Argument | Type | Description |
|---|---|---|
| id | string | The ID of the Acls |
fn sync()
Sync Acls state from Cloudflare
Resources
state(infinite)— Acls resource state
@swamp/cloudflare/secondary-dns/peersv2026.05.22.1peers.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| account_id | string | Cloudflare account ID |
| id? | string | |
| ip? | string | IPv4/IPv6 address of primary or secondary nameserver, depending on what zone this peer is linked to. For primary zones this IP defines the IP of the secondary nameserver Cloudflare will NOTIFY upon zone changes. For secondary zones this IP defines the IP of the primary nameserver Cloudflare will send AXFR/IXFR requests to. |
| ixfr_enable? | boolean | Enable IXFR transfer protocol, default is AXFR. Only applicable to secondary zones. |
| name | string | The name of the peer. |
| port? | number | DNS port of primary or secondary nameserver, depending on what zone this peer is linked to. |
| tsig_id? | string | TSIG authentication will be used for zone transfer if configured. |
fn create()
Create a Peers
fn get(id: string)
Get a Peers
| Argument | Type | Description |
|---|---|---|
| id | string | The ID of the Peers |
fn update()
Update Peers attributes
fn delete(id: string)
Delete the Peers
| Argument | Type | Description |
|---|---|---|
| id | string | The ID of the Peers |
fn sync()
Sync Peers state from Cloudflare
Resources
state(infinite)— Peers resource state
@swamp/cloudflare/secondary-dns/tsigsv2026.05.22.1tsigs.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| account_id | string | Cloudflare account ID |
| algo | string | TSIG algorithm. |
| id | string | |
| name | string | TSIG key name. |
| secret | string | TSIG secret. |
fn create()
Create a Tsigs
fn get(id: string)
Get a Tsigs
| Argument | Type | Description |
|---|---|---|
| id | string | The ID of the Tsigs |
fn update()
Update Tsigs attributes
fn delete(id: string)
Delete the Tsigs
| Argument | Type | Description |
|---|---|---|
| id | string | The ID of the Tsigs |
fn sync()
Sync Tsigs state from Cloudflare
Resources
state(infinite)— Tsigs resource state
04Stats
A
100 / 100
Downloads
0
Archive size
11.0 KB
Verified by Swamp
- Has README or module doc2/2earned
- README has a code example1/1earned
- README is substantive1/1earned
- Most symbols documented1/1earned
- No slow types1/1earned
- Dependencies pass trust audit2/2earned
- Has description1/1earned
- Platform support declared (or universal)2/2earned
- License declared1/1earned
- Verified public repository2/2earned
05Platforms
06Labels