Skip to main content
FuseFuse
IntegrationsCloudflareActions

List Cloudflare DNS records

List DNS records in the bound zone with optional exact-name and type filters. One page per call; opaque cursors encode page numbers. Requires DNS Read.

Agent markdown

dns_records.list · Cloudflare · v1

Details

Risk
Read
Idempotency
Safe
Availability
Default
Exposure
REST, SDK, MCP
MCP hints
readOnly=true, destructive=false, idempotent=true, openWorld=true

Scopes

None

Input

Input schema
NameTypeRequiredConstraints
(root)objectYesadditionalProperties false
exact_namestringNominLength 1; maxLength 253
typestringNoenum A | AAAA | CNAME | TXT | MX | NS | SRV | CAA | PTR | CERT | DNSKEY | DS | HTTPS | LOC | NAPTR | OPENPGPKEY | SMIMEA | SSHFP | SVCB | TLSA | URI
page_sizeintegerNominimum 1; maximum 100
cursorstringNominLength 1; maxLength 64

Output

Output schema
NameTypeRequiredConstraints
(root)objectYesadditionalProperties false
recordsarray<object>YesmaxItems 100
records[]objectYesadditionalProperties false
records[].idstringYesminLength 32; maxLength 32; pattern ^[0-9a-fA-F]{32}$
records[].namestringYesminLength 1; maxLength 253
records[].typestringYesenum A | AAAA | CNAME | TXT | MX | NS | SRV | CAA | PTR | CERT | DNSKEY | DS | HTTPS | LOC | NAPTR | OPENPGPKEY | SMIMEA | SSHFP | SVCB | TLSA | URI
records[].contentstringYesminLength 1; maxLength 4096
records[].ttlintegerYesminimum 1; maximum 86400
records[].proxiablebooleanYes
records[].proxiedbooleanYes
records[].commentstringNomaxLength 100
records[].priorityintegerNominimum 0; maximum 65535
records[].tagsarray<string>NomaxItems 32
records[].tags[]stringYesminLength 1; maxLength 128
records[].created_onstringNominLength 1; maxLength 64
records[].modified_onstringNominLength 1; maxLength 64
next_cursorstringNominLength 1; maxLength 64

Raw schema

Input
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "exact_name": {
      "type": "string",
      "minLength": 1,
      "maxLength": 253
    },
    "type": {
      "type": "string",
      "enum": [
        "A",
        "AAAA",
        "CNAME",
        "TXT",
        "MX",
        "NS",
        "SRV",
        "CAA",
        "PTR",
        "CERT",
        "DNSKEY",
        "DS",
        "HTTPS",
        "LOC",
        "NAPTR",
        "OPENPGPKEY",
        "SMIMEA",
        "SSHFP",
        "SVCB",
        "TLSA",
        "URI"
      ]
    },
    "page_size": {
      "type": "integer",
      "minimum": 1,
      "maximum": 100
    },
    "cursor": {
      "type": "string",
      "minLength": 1,
      "maxLength": 64
    }
  }
}
Output
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "records": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "minLength": 32,
            "maxLength": 32,
            "pattern": "^[0-9a-fA-F]{32}$"
          },
          "name": {
            "type": "string",
            "minLength": 1,
            "maxLength": 253
          },
          "type": {
            "type": "string",
            "enum": [
              "A",
              "AAAA",
              "CNAME",
              "TXT",
              "MX",
              "NS",
              "SRV",
              "CAA",
              "PTR",
              "CERT",
              "DNSKEY",
              "DS",
              "HTTPS",
              "LOC",
              "NAPTR",
              "OPENPGPKEY",
              "SMIMEA",
              "SSHFP",
              "SVCB",
              "TLSA",
              "URI"
            ]
          },
          "content": {
            "type": "string",
            "minLength": 1,
            "maxLength": 4096
          },
          "ttl": {
            "type": "integer",
            "minimum": 1,
            "maximum": 86400
          },
          "proxiable": {
            "type": "boolean"
          },
          "proxied": {
            "type": "boolean"
          },
          "comment": {
            "type": "string",
            "maxLength": 100
          },
          "priority": {
            "type": "integer",
            "minimum": 0,
            "maximum": 65535
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "maxLength": 128
            },
            "maxItems": 32
          },
          "created_on": {
            "type": "string",
            "minLength": 1,
            "maxLength": 64
          },
          "modified_on": {
            "type": "string",
            "minLength": 1,
            "maxLength": 64
          }
        },
        "required": [
          "id",
          "name",
          "type",
          "content",
          "ttl",
          "proxiable",
          "proxied"
        ]
      },
      "maxItems": 100
    },
    "next_cursor": {
      "type": "string",
      "minLength": 1,
      "maxLength": 64
    }
  },
  "required": [
    "records"
  ]
}