Skip to main content

Cloudflare/secondary Dns

@swamp/cloudflare/secondary-dnsv2026.10.23.1· AGPL-3.0-or-later· 3d agoBEHAVIORS
01README

Cloudflare secondary-dns infrastructure models

02Release Notes
  • Updated: acls
  • Updated: peers
  • Updated: tsigs
03Behaviors3
@swamp/cloudflare/secondary-dns/aclsv2026.10.23.1acls.ts

Global Arguments

ArgumentTypeDescription
account_idstringCloudflare account ID
id?string
ip_range?stringAllowed 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?stringThe name of the acl.
apiToken?stringCloudflare API token; overrides the CLOUDFLARE_API_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
apiKey?stringCloudflare 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?stringCloudflare 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
ArgumentTypeDescription
idstringThe ID of the Acls
fn lookup(allowMissing?: boolean)
Look up an existing Acls by matching global argument values and import it into state
ArgumentTypeDescription
allowMissing?booleanSucceed 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
ArgumentTypeDescription
idstringThe ID of the Acls to import
fn update(identifier?: string)
Update Acls attributes
ArgumentTypeDescription
identifier?stringTarget a specific Acls by id (e.g. one discovered by list)
fn delete(id: string)
Delete the Acls
ArgumentTypeDescription
idstringThe ID of the Acls
fn sync(identifier?: string)
Sync Acls state from Cloudflare
ArgumentTypeDescription
identifier?stringTarget 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

ArgumentTypeDescription
account_idstringCloudflare account ID
id?string
ip?stringIPv4/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?booleanEnable IXFR transfer protocol, default is AXFR. Only applicable to secondary zones.
name?stringThe name of the peer.
port?numberDNS port of primary or secondary nameserver, depending on what zone this peer is linked to.
tsig_id?stringTSIG authentication will be used for zone transfer if configured.
apiToken?stringCloudflare API token; overrides the CLOUDFLARE_API_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
apiKey?stringCloudflare 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?stringCloudflare 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
ArgumentTypeDescription
idstringThe ID of the Peers
fn lookup(allowMissing?: boolean)
Look up an existing Peers by matching global argument values and import it into state
ArgumentTypeDescription
allowMissing?booleanSucceed 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
ArgumentTypeDescription
idstringThe ID of the Peers to import
fn update(identifier?: string)
Update Peers attributes
ArgumentTypeDescription
identifier?stringTarget a specific Peers by id (e.g. one discovered by list)
fn delete(id: string)
Delete the Peers
ArgumentTypeDescription
idstringThe ID of the Peers
fn sync(identifier?: string)
Sync Peers state from Cloudflare
ArgumentTypeDescription
identifier?stringTarget 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

ArgumentTypeDescription
account_idstringCloudflare account ID
algo?stringTSIG algorithm.
id?string
name?stringTSIG key name.
secret?stringTSIG secret.
apiToken?stringCloudflare API token; overrides the CLOUDFLARE_API_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
apiKey?stringCloudflare 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?stringCloudflare 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
ArgumentTypeDescription
idstringThe ID of the Tsigs
fn lookup(allowMissing?: boolean)
Look up an existing Tsigs by matching global argument values and import it into state
ArgumentTypeDescription
allowMissing?booleanSucceed 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
ArgumentTypeDescription
idstringThe ID of the Tsigs to import
fn update(identifier?: string)
Update Tsigs attributes
ArgumentTypeDescription
identifier?stringTarget a specific Tsigs by id (e.g. one discovered by list)
fn delete(id: string)
Delete the Tsigs
ArgumentTypeDescription
idstringThe ID of the Tsigs
fn sync(identifier?: string)
Sync Tsigs state from Cloudflare
ArgumentTypeDescription
identifier?stringTarget 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 Versions10
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