Cloudflare/secondary Dns
@swamp/cloudflare/secondary-dnsv2026.10.23.1
01README
Cloudflare secondary-dns infrastructure models
02Release Notes
- Updated: acls
- Updated: peers
- Updated: tsigs
03Behaviors
@swamp/cloudflare/secondary-dns/aclsv2026.10.23.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. |
| apiToken? | string | Cloudflare API token; overrides the CLOUDFLARE_API_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| apiKey? | string | Cloudflare API key for the legacy key+email auth path; overrides the CLOUDFLARE_API_KEY environment variable. Wire with a vault.get(...) expression. Requires email. |
| email? | string | Cloudflare account email for the legacy key+email auth path; overrides the CLOUDFLARE_EMAIL environment variable. Requires apiKey. |
fn create()
Create a Acls
fn get(id: string)
Get a Acls
| Argument | Type | Description |
|---|---|---|
| id | string | The ID of the Acls |
fn lookup(allowMissing?: boolean)
Look up an existing Acls by matching global argument values and import it into state
| Argument | Type | Description |
|---|---|---|
| allowMissing? | boolean | Succeed and record found: false in lookupResult when nothing matches, instead of failing |
fn adopt(id: string)
Import an existing Acls by ID into state for management
| Argument | Type | Description |
|---|---|---|
| id | string | The ID of the Acls to import |
fn update(identifier?: string)
Update Acls attributes
| Argument | Type | Description |
|---|---|---|
| identifier? | string | Target a specific Acls by id (e.g. one discovered by list) |
fn delete(id: string)
Delete the Acls
| Argument | Type | Description |
|---|---|---|
| id | string | The ID of the Acls |
fn sync(identifier?: string)
Sync Acls state from Cloudflare
| Argument | Type | Description |
|---|---|---|
| identifier? | string | Target a specific Acls by id (e.g. one discovered by list) |
Resources
state(infinite)— Acls resource state
lookupResult(infinite)— Outcome of the most recent lookup
@swamp/cloudflare/secondary-dns/peersv2026.10.23.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. |
| apiToken? | string | Cloudflare API token; overrides the CLOUDFLARE_API_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| apiKey? | string | Cloudflare API key for the legacy key+email auth path; overrides the CLOUDFLARE_API_KEY environment variable. Wire with a vault.get(...) expression. Requires email. |
| email? | string | Cloudflare account email for the legacy key+email auth path; overrides the CLOUDFLARE_EMAIL environment variable. Requires apiKey. |
fn create()
Create a Peers
fn get(id: string)
Get a Peers
| Argument | Type | Description |
|---|---|---|
| id | string | The ID of the Peers |
fn lookup(allowMissing?: boolean)
Look up an existing Peers by matching global argument values and import it into state
| Argument | Type | Description |
|---|---|---|
| allowMissing? | boolean | Succeed and record found: false in lookupResult when nothing matches, instead of failing |
fn adopt(id: string)
Import an existing Peers by ID into state for management
| Argument | Type | Description |
|---|---|---|
| id | string | The ID of the Peers to import |
fn update(identifier?: string)
Update Peers attributes
| Argument | Type | Description |
|---|---|---|
| identifier? | string | Target a specific Peers by id (e.g. one discovered by list) |
fn delete(id: string)
Delete the Peers
| Argument | Type | Description |
|---|---|---|
| id | string | The ID of the Peers |
fn sync(identifier?: string)
Sync Peers state from Cloudflare
| Argument | Type | Description |
|---|---|---|
| identifier? | string | Target a specific Peers by id (e.g. one discovered by list) |
Resources
state(infinite)— Peers resource state
lookupResult(infinite)— Outcome of the most recent lookup
@swamp/cloudflare/secondary-dns/tsigsv2026.10.23.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. |
| apiToken? | string | Cloudflare API token; overrides the CLOUDFLARE_API_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| apiKey? | string | Cloudflare API key for the legacy key+email auth path; overrides the CLOUDFLARE_API_KEY environment variable. Wire with a vault.get(...) expression. Requires email. |
| email? | string | Cloudflare account email for the legacy key+email auth path; overrides the CLOUDFLARE_EMAIL environment variable. Requires apiKey. |
fn create()
Create a Tsigs
fn get(id: string)
Get a Tsigs
| Argument | Type | Description |
|---|---|---|
| id | string | The ID of the Tsigs |
fn lookup(allowMissing?: boolean)
Look up an existing Tsigs by matching global argument values and import it into state
| Argument | Type | Description |
|---|---|---|
| allowMissing? | boolean | Succeed and record found: false in lookupResult when nothing matches, instead of failing |
fn adopt(id: string)
Import an existing Tsigs by ID into state for management
| Argument | Type | Description |
|---|---|---|
| id | string | The ID of the Tsigs to import |
fn update(identifier?: string)
Update Tsigs attributes
| Argument | Type | Description |
|---|---|---|
| identifier? | string | Target a specific Tsigs by id (e.g. one discovered by list) |
fn delete(id: string)
Delete the Tsigs
| Argument | Type | Description |
|---|---|---|
| id | string | The ID of the Tsigs |
fn sync(identifier?: string)
Sync Tsigs state from Cloudflare
| Argument | Type | Description |
|---|---|---|
| identifier? | string | Target a specific Tsigs by id (e.g. one discovered by list) |
Resources
state(infinite)— Tsigs resource state
lookupResult(infinite)— Outcome of the most recent lookup
04Previous Versions
2026.10.20.1AGPL-3.0-or-later
- Updated: acls
- Updated: peers
- Updated: tsigs
Modified 3 behaviors
2026.10.16.1AGPL-3.0-or-later(was none)
2026.10.13.1
- Updated: acls
- Updated: peers
- Updated: tsigs
2026.09.29.2
- Updated: acls
- Updated: peers
- Updated: tsigs
2026.09.29.1
- Updated: acls
- Updated: peers
- Updated: tsigs
2026.07.21.1
- Updated: acls
- Updated: peers
- Updated: tsigs
2026.07.18.2
Modified 3 behaviors
2026.06.08.2
- Updated: acls
- Updated: peers
- Updated: tsigs
2026.05.29.1
- Updated: acls
- Updated: peers
- Updated: tsigs
2026.05.22.1
- Added: acls
- Added: peers
- Added: tsigs
05Stats
A
100 / 100
Downloads
25
Archive size
15.2 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 types (deprecated)1/1earned
- Dependencies pass trust audit2/2earned
- Docs keep secrets in a vault1/1earned
- Has description1/1earned
- Platform support declared (or universal)2/2earned
- License2/2earned
- Verified public repository2/2earned
06Platforms
07Labels