Skip to main content

List DNS Records

Lists dns records in Cloudflare.

This node is also exposed as an AI Agent tool.

This node has 1 input port and 1 output port.

Common Properties

Every node shares these.

  • Name — the node's display name on the canvas.
  • Color — the node's colour on the canvas.
  • Delay Before (sec) — wait this long before the node runs.
  • Delay After (sec) — wait this long after the node runs.
  • Continue On Error — carry on instead of failing the flow. Defaults to false.
info

When Continue On Error is true the error is not raised at all, so a Catch node will not see it either.

Inputs

PropertyFieldDescription
Client IDinClientIDClient ID from Connect node
Zone IDinZoneIDZone ID to list DNS records for

Outputs

PropertyFieldDescription
CountoutCountNumber of records returned
ResultoutResultArray of DNS record objects

Options

PropertyFieldDescription
CredentialsoptCredentialsCloudflare API Token
Record NameoptNameFilter by exact record name (e.g. subdomain.example.com)
Record TypeoptTypeFilter by DNS record type One of: ALL, A, AAAA, CNAME, MX, TXT, NS, SRV, CAA, PTR.
SearchoptSearchSearch across multiple record properties

Requirements

  • A Client ID from this package's Connect node, unless you set credentials directly on this node.
  • Cloudflare API Token — Scoped API token for Cloudflare authentication
    • value — API Token (password, required). Your Cloudflare API token

Store these in a Vault and reference the vault item from the node, rather than typing the secret into the property.

Create DNS Record · Update DNS Record · Delete DNS Record

Elsewhere in the package: Connect · Disconnect · List Zones · Get Zone · Create Zone · Delete Zone · Purge Cache · Get Zone Setting · Update Zone Setting · Toolkit

See also