Cloudflare DNS
Read one Cloudflare zone and add exact TXT or DNS-only CNAME records to empty names.
3 implemented operations
connector.yamlzone.readRead the exact Cloudflare zone, its account, and its assigned nameservers.dns.zone.read
- LocalReadyThe runtime sends the operation's declared HTTP requests.
- runx scope
dns.zone.read- Target
{"$concat":["cloudflare://zones/",{"$argument":"/zone_id"}]}- Credentials
- Any of
token - Provider permissions
offline_accessuser-details.readzone.read- Local implementation
- Declared HTTP requests:
api.cloudflare.com
| Field and constraints | Type / values | Required |
|---|---|---|
zone_idPattern: ^[0-9a-f]{32}$ | string | Yes |
Required fields apply within their containing object. Unlisted fields are rejected.
Full input schema
{
"type": "object",
"required": [
"zone_id"
],
"properties": {
"zone_id": {
"type": "string",
"pattern": "^[0-9a-f]{32}$"
}
},
"additionalProperties": false
}Result fields successzone_idzonestatusaccount_idnameservers
Operation digest sha256:39cd82eab94cb835b8ebfe6cfccdf240a907af0cbae5945a44ac032b50673b52Implementation sha256:157ddc1862805036f23d92c1062563aa7f0c278bce7ac868d647e2448bc56c2e
record.createAdd one approved record to an empty name in the selected zone and independently read it back.dns.records.create
- LocalReadyThe runtime sends the operation's declared HTTP requests.Each call needs approval evidence or standing approval.
- runx scope
dns.records.create- Target
{"$concat":["cloudflare://zones/",{"$argument":"/zone_id"}]}- Credentials
- Any of
token - Provider permissions
offline_accessuser-details.readdns.readdns.write- Local implementation
- Declared HTTP requests:
api.cloudflare.com
| Field and constraints | Type / values | Required |
|---|---|---|
ttlMinimum 60Maximum 86400 | integer | Yes |
namePattern: ^[a-z0-9_](?:[a-z0-9_-]{0,62})(?:\.[a-z0-9_][a-z0-9_-]{0,62})+$Max. 253 characters | string | Yes |
type | "TXT" · "CNAME" | Yes |
contentPattern: ^[ -~]+$Min. 1 characterMax. 255 characters | string | Yes |
zone_idPattern: ^[0-9a-f]{32}$ | string | Yes |
Required fields apply within their containing object. Unlisted fields are rejected.
Full input schema
{
"type": "object",
"required": [
"zone_id",
"name",
"type",
"content",
"ttl"
],
"properties": {
"ttl": {
"type": "integer",
"maximum": 86400,
"minimum": 60
},
"name": {
"type": "string",
"pattern": "^[a-z0-9_](?:[a-z0-9_-]{0,62})(?:\\.[a-z0-9_][a-z0-9_-]{0,62})+$",
"maxLength": 253
},
"type": {
"enum": [
"TXT",
"CNAME"
]
},
"content": {
"type": "string",
"pattern": "^[ -~]+$",
"maxLength": 255,
"minLength": 1
},
"zone_id": {
"type": "string",
"pattern": "^[0-9a-f]{32}$"
}
},
"additionalProperties": false
}Result fields id
Operation digest sha256:f77ca6b7a4730dd26dcbdd1baa48345402af9833259fef04741d796fd78df60dImplementation sha256:be746f5aed8eb9c5a5616461b9c1320ad9d4de667b69fdb538e827233818942f
records.inspectRead records at one exact DNS name in the selected zone.dns.records.read
- LocalReadyThe runtime sends the operation's declared HTTP requests.
- runx scope
dns.records.read- Target
{"$concat":["cloudflare://zones/",{"$argument":"/zone_id"}]}- Credentials
- Any of
token - Provider permissions
offline_accessuser-details.readdns.read- Local implementation
- Declared HTTP requests:
api.cloudflare.com
| Field and constraints | Type / values | Required |
|---|---|---|
namePattern: ^[a-z0-9_](?:[a-z0-9_-]{0,62})(?:\.[a-z0-9_][a-z0-9_-]{0,62})+$Max. 253 characters | string | Yes |
zone_idPattern: ^[0-9a-f]{32}$ | string | Yes |
Required fields apply within their containing object. Unlisted fields are rejected.
Full input schema
{
"type": "object",
"required": [
"zone_id",
"name"
],
"properties": {
"name": {
"type": "string",
"pattern": "^[a-z0-9_](?:[a-z0-9_-]{0,62})(?:\\.[a-z0-9_][a-z0-9_-]{0,62})+$",
"maxLength": 253
},
"zone_id": {
"type": "string",
"pattern": "^[0-9a-f]{32}$"
}
},
"additionalProperties": false
}Result fields successrecordstotal
Operation digest sha256:237bfc83a6144b6d47ceb780cf899e285f4cfe00b204da6794366552b4f5b926Implementation sha256:19c83407262dfd7c28f3944217863fd68ff96ebf6d64d05928f4b8b4cb8e3475
Authentication
Commands here are for runx 0.12.1.
Cloudflare DNS accepts a stored credential or a connection to your provider account.
- Stored credential
token - A
api_keywith one field:token(Cloudflare API token for this DNS zone). Sent only toapi.cloudflare.com. Supply it through standard input in the project where the skill runs; runx stores the profile and selects it for this connector.runx connector use cloudflare/dns --credential token
- Connection
- Your provider account, connected in your runx through runx.ai's app. Its tokens stay in your runx. Local placement only.
runx connector use cloudflare/dns --connect
Authentication methods describe what the provider requires. They do not imply runx supports every way the provider authenticates, and they do not grant access to your account.
Permissions
Each operation requires every runx scope it declares. The account or key behind an instance must also reach the target on Cloudflare DNS’s side; setting one up adds no Cloudflare DNS permissions.
Cloudflare DNS OAuth permissions
What the hosted placement asks Cloudflare DNS for, per operation. These are Cloudflare DNS’s permissions, distinct from runx scopes.
Approval
These operations need approval evidence on every call, which a grant alone never replaces: record.create.
A stored credential may do everything its scopes allow. Add --scope to runx connector use --credential to narrow it.