Skip to the content
Vaubaan Gateway

Plugins / Cloudflare DNS

Cloudflare DNS 4.1.1

The Cloudflare DNS plugin lets a Vaubaan Gateway mission use Cloudflare DNS without handing the agent a credential. DNS zones and records on Cloudflare : records, BIND import / export, zone settings, DNSSEC and cache purge — one resource per zone.

Version 4.1.1 · 11 permissions · 4 macro-actions · 15 tools · 17 gateways run this plugin (over the last 90 days).

1 · The model

How Cloudflare DNS is modelled

1 plane, 10 things. The things that exist at the service and how they nest. Every permission is written over these; a resource of an account is one of them, named by its ref.

1 exactly one, namedn a finite, known set* an unknown number, possibly all the resource carries the environment

Account

One account is one Cloudflare API token.

Resource

One resource is one DNS zone (a domain). A mission touches only the zones it was given.

Environment

Rule
No permission of this service depends on an environment: each is held once, whatever the resource.
Known
none
Carried by
nothing in the model

DNS has no environment: ordinary records, apex / MX / NS changes, deletions, imports and zone settings are separate permissions instead.

2 · Macro-actions

What an agent does at Cloudflare DNS: 4 macro-actions

A mission is made of them: the person ticks the ones the task needs and sets each to a trust level.

  1. 1

    Look up

    Metadata, records and export.

    Reading the mission's zones: their status and settings, their records, and the zone file. Nothing changes, but records map the network (server addresses, mail relays, SPF and DKIM), which is what an attacker scouts first. The export is a permission of its own because one call hands over the whole zone.

    3 permissions

  2. 2

    Point subdomains

    Ordinary records and cache purge.

    Pointing hosts somewhere: adding and changing ordinary records, and purging the cache. A record is public as soon as it is written and DNS keeps no history, so undoing a change means knowing the old value. A purge only costs a load spike on the origin while the cache rebuilds.

    2 permissions

  3. 3

    Change the domain

    Apex, MX and NS records, deletions and imports.

    The writes that move the whole domain rather than one host: the apex and its wildcard, MX that routes all incoming mail, NS that hands a subtree to another nameserver, and BIND imports that rewrite hundreds of records in one call. Deleting a record sits here too, because what it served stops resolving at once and its value is gone.

    3 permissions

  4. 4

    Rule the zone

    Zone settings, DNSSEC and zone deletion.

    Changing how the zone itself is run: its security settings, DNSSEC, and the zone's existence. A weaker TLS setting opens the origin to interception, and DNSSEC turned on without the registrar's DS record breaks resolution for everyone. Deleting the zone takes every record and setting with it, which is why it is the one irreversible permission of this service.

    3 permissions

3 · The map

The map

11 permissions of 4 macro-actions, in the four rows of the tree. For the chosen trust level, each cell gives yes, ask me or no, and the quota a day.

Trust level

yes runs freelyask me ask me firstno not included

Mild actions run freely; sensitive or costly ones ask first; irreversible ones are left out.Up to sensitive actions run freely; costly and irreversible ones ask first. Limits ×3.Everything but irreversible actions runs freely; those ask first. Limits ×10.

A permission sits in the first row its facts answer: irreversible; costly to undo or unbounded cost; secret or personal data, whole account or bulk, moderate cost, public; otherwise harmless.

Cloudflare DNS permissions by macro-action and row of the tree, with what the chosen trust level does and the quota a day
RiskLook upMetadata, records and export.Point subdomainsOrdinary records and cache purge.Change the domainApex, MX and NS records, deletions and imports.Rule the zoneZone settings, DNSSEC and zone deletion.
Cannot be repaired

Careful: no. Trusting, Autonomous: ask me.

None

None

None

  • Delete a whole DNS zone (the domain stops resolving) irreversibleWhy it sits here: Deletes the zone. The domain stops resolving at once ; every record, setting and the DNSSEC configuration are lost. Irreversible in practice — the zone must be recreated and every record reimported. The pattern ends on the zone ident (zone[*], not zone[**]) : a recursive wildcard would make every record or settings write need this irreversible permission. cloudflare-dns.zone-delete

    noask me · 150 a dayask me · 500 a day

Repairable, at a price

Careful, Trusting: ask me. Autonomous: runs freely.

None

  • Create / update a DNS record costly to undoWhy it sits here: Posture shift on a DNS record. A changed A/CNAME redirects traffic ; a changed TXT invalidates SPF/DKIM (mail) or ACME (TLS). Costly to revert because the previous value must be known (no DNS versioning). Public by nature. Touched by every record write, including the critical ones and the deletions, which also need their own permission. cloudflare-dns.record-write

    ask me · 500 a dayask me · 1,500 a dayyes · 5,000 a day

  • Change an apex, wildcard, MX or NS record costly to undoWhy it sits here: The record governs the whole domain rather than one host : the apex (example.com, @) or the wildcard at the apex redirects the main site and every undefined subdomain ; MX reroutes all incoming mail ; NS delegates a subtree to another nameserver. Emitted next to the ordinary record write, so a mission holds it distinctly. When the arguments do not name the record's type and name, the write counts as critical. cloudflare-dns.critical-record-write

    ask me · 50 a dayask me · 150 a dayyes · 500 a day

  • Delete a DNS record costly to undoWhy it sits here: Removes a record ; the host, mail route or validation token it served stops resolving immediately. Costly to revert : the previous value is gone and must be recovered from elsewhere. Emitted as a verb leaf so a mission can allow edits without allowing deletions. cloudflare-dns.record-delete

    ask me · 200 a dayask me · 600 a dayyes · 2,000 a day

  • Bulk import DNS records from a BIND zone file costly to undoWhy it sits here: A BIND import creates or overwrites potentially hundreds of records in one call, apex and MX included. Higher blast than a single record write ; non-atomic (partial import on error). Rate-limited upstream. cloudflare-dns.import-records

    ask me · 10 a dayask me · 30 a dayyes · 100 a day

  • Edit zone settings (SSL mode, minimum TLS, cache level…) costly to undoWhy it sits here: Modifies the security posture of the zone. Lowering the minimum TLS version re-enables known weaknesses ; switching SSL from Full (strict) to Flexible opens the origin leg to interception. cloudflare-dns.zone-settings-write

    ask me · 50 a dayask me · 150 a dayyes · 500 a day

  • Enable / disable DNSSEC on a zone costly to undoWhy it sits here: Toggling DNSSEC without the matching DS record at the registrar breaks resolution (SERVFAIL on validating resolvers). Zone-wide security posture shift. cloudflare-dns.dnssec-write

    ask me · 10 a dayask me · 30 a dayyes · 100 a day

Worth a look

Careful: ask me. Trusting, Autonomous: runs freely.

  • Export the whole zone as a BIND file (all records in one dump) whole accountWhy it sits here: Atomic export of every record in BIND format — the complete DNS topology in a single request. Distinct from read-records (paginated) because the export is a one-call bulk exfiltration vector. cloudflare-dns.export-zone-file

    ask me · 50 a dayyes · 150 a dayyes · 500 a day

  • Purge the CDN cache (everything, by URL, tag, host or prefix) whole accountWhy it sits here: A purge-everything sends every request to the origin — a self-inflicted load spike on a busy site. Reversible (the cache rebuilds) but with an immediate performance cost. cloudflare-dns.cache-purge

    ask me · 50 a dayyes · 150 a dayyes · 500 a day

None

None

Harmless

Runs freely at every level.

  • Read zone and account metadataWhy it sits here: Inventory of zones, status, nameservers, plan, zone settings and DNSSEC posture. Metadata only, no secrets, no record values. Note that zone[**].R is recursive : reading records needs this permission too, so a mission that reads records holds both. cloudflare-dns.read-zone-metadata

    yes · 2,000 a dayyes · 6,000 a dayyes · 20,000 a day

  • Read DNS records (IPs, CNAMEs, MX, TXT values)Why it sits here: Exposes the network topology (server IPs, MX relays, SPF/DKIM/DMARC configuration, ACME challenges). Reconnaissance surface for an attacker. cloudflare-dns.read-records

    yes · 2,000 a dayyes · 6,000 a dayyes · 20,000 a day

None

None

None

Careful: runs freely 2, ask me first 8, not included 1. Trusting: runs freely 4, ask me first 7. Autonomous: runs freely 10, ask me first 1. Limits are counted over a mission's period: a day unless its creator picks another, or the mission's whole life for a one-off. The figures here are per day.

4 · A few calls

A few calls, classified by the plugin

19 declared calls, run through the plugin's own classifier when this page was built; here one per macro-action and the first the catalog refuses at Careful. The 19 calls, as code.

The callThe plugin seesThe catalog answersA Careful mission
cloudflare_dns__list_zones {}
  • cloudflare-dns.account[acct1].zone[*].R
  • Read zone and account metadata cloudflare-dns.read-zone-metadata
yes
cloudflare_dns__create_record {"zone_id":"z1","type":"A","name":"www.example.com","content":"192.0.2.1"}
  • cloudflare-dns.account[acct1].zone[z1].record.W
  • Create / update a DNS record cloudflare-dns.record-write
ask me
cloudflare_dns__import_records {"zone_id":"z1","file":";; bind"}
  • cloudflare-dns.account[acct1].zone[z1].zone-import.W
  • Bulk import DNS records from a BIND zone file cloudflare-dns.import-records
ask me
cloudflare_dns__edit_zone_settings {"zone_id":"z1","items":[{"id":"ssl","value":"strict"}]}
  • cloudflare-dns.account[acct1].zone[z1].zone-settings.W
  • Edit zone settings (SSL mode, minimum TLS, cache level…) cloudflare-dns.zone-settings-write
ask me
cloudflare_dns__delete_zone {"zone_id":"z1"}
  • cloudflare-dns.account[acct1].zone[z1].W
  • Delete a whole DNS zone (the domain stops resolving) cloudflare-dns.zone-delete
no

5 · Anything else

Anything else

A call no permission covers touches cloudflare-dns.uncategorized-write instead of slipping through. No macro-action holds it; a person ticks it knowingly.

PermissionRiskCareful ×1Trusting ×3Autonomous ×10
Uncategorized Cloudflare DNS writeWhy it sits here: Catch-all for writes without a dedicated entry. Seen in production, it means a tool classifies to a slice no entry covers : add the entry. cloudflare-dns.uncategorized-writeRepairable, at a price costly to undoask me · 50 a dayask me · 150 a dayyes · 500 a day

6 · Tools

Tools

15 tools. A tool's permissions depend on its arguments, so a mission is made of the macro-actions above, not of tools.

15 tools · scroll the list

ToolWhat it doesUsually touches
cloudflare_dns__list_zonesList DNS zonescloudflare-dns.read-zone-metadata
cloudflare_dns__get_zoneRead a DNS zonecloudflare-dns.read-zone-metadata
cloudflare_dns__list_recordsList DNS recordscloudflare-dns.read-zone-metadata, cloudflare-dns.read-records
cloudflare_dns__get_recordRead a DNS recordcloudflare-dns.read-zone-metadata, cloudflare-dns.read-records
cloudflare_dns__export_recordsExport the DNS records of a zonecloudflare-dns.read-zone-metadata, cloudflare-dns.export-zone-file
cloudflare_dns__get_zone_settingsRead the settings of a zonecloudflare-dns.read-zone-metadata
cloudflare_dns__get_dnssecRead the DNSSEC statuscloudflare-dns.read-zone-metadata
cloudflare_dns__create_recordCreate a DNS recordcloudflare-dns.record-write, cloudflare-dns.critical-record-write
cloudflare_dns__update_recordChange a DNS recordcloudflare-dns.record-write, cloudflare-dns.critical-record-write
cloudflare_dns__delete_recordDelete a DNS recordcloudflare-dns.record-write, cloudflare-dns.critical-record-write, cloudflare-dns.record-delete
cloudflare_dns__import_recordsImport DNS records in bulkcloudflare-dns.import-records
cloudflare_dns__edit_zone_settingsChange the settings of a zonecloudflare-dns.zone-settings-write
cloudflare_dns__purge_cachePurge the cache of a zonecloudflare-dns.cache-purge
cloudflare_dns__edit_dnssecTurn DNSSEC on or offcloudflare-dns.dnssec-write
cloudflare_dns__delete_zoneDelete a DNS zonecloudflare-dns.zone-delete

7 · Connecting an account

Connecting an account

1 of 3 · a key you create and paste API token

An API token the person creates at Cloudflare DNS and pastes once; nobody declares anything beforehand.

Zone policy

Include, All zones, with every permission below. This gateway gives a mission its zones one by one and only the permissions it names; a token that lacks a zone or a permission means a new token.

  1. Sign in to Cloudflare as a member of the account that owns the zones.
  2. My ProfileAPI TokensCreate TokenOpen the page, start a token from scratch and name it. (open)
  3. PoliciesAdd new policyZone policyIncludeAll zonesAdd a zone policy that includes all zones, with one permission per line below at the level shown (Edit for read and write, Purge for Cache Purge).
    The Create Token form of Cloudflare: a token name, a zone policy including all zones with DNS Write, the token expiration choices and Continue to summary.
    Cloudflare DNS docs, 2026-11 · from developers.cloudflare.com (CC BY 4.0)
  4. Continue to summaryCreate TokenLeave Token expiration at no expiration or pick a date, then create the token.
  5. Copy the token and paste it here. Cloudflare shows it once.
Permission at Cloudflare DNSAccess
Zone · Zoneread
Zone · Zoneread-write
Zone · DNSread-write
Zone · Zone Settingsread-write
Zone · Cache Purgeread-write
Where
https://dash.cloudflare.com/profile/api-tokens
Expiry
The service tells the gateway the date, and the account page warns before it.
The connect page asks
API token (secret)
The service's documentation
https://developers.cloudflare.com/fundamentals/api/get-started/create-token/
Disconnecting
Delete the API token in the Cloudflare dashboard, under My Profile, API Tokens.

8 · Health

Health

17 gateways run this plugin (over the last 90 days).

VersionGatewaysCallsSuccessValidated
4.1.01no call yet—
4.0.071100.0 %
3.0.254100.0 %
3.0.15no call yet—

A version is marked validated by the community with at least 200 reports and a success rate of at least 90 %, over the last 90 days; a gateway shows that mark on the accounts of this service. The figures are refreshed at most hourly (what they mean). It is a community signal, not a security guarantee.

Calls are counted over the last 90 days from the instances that share plugin health. Gateways are counted over the same window among the instances that also share usage statistics, so they are a lower bound. The success rate leaves out calls refused for a rejected credential: a revoked token is the user's configuration, not the plugin.

Last changed 2026-12-02. This page as Markdown: /plugins/cloudflare-dns.md