cloudflare-typescript icon indicating copy to clipboard operation
cloudflare-typescript copied to clipboard

DNS search with "exact" or "endswith" always returns 0

Open greg-md opened this issue 6 months ago • 1 comments

Confirm this is a Typescript library issue and not an underlying Cloudflare API issue

  • [x] This is an issue with the Typescript library

Describe the bug

DNS list with exact or endswith searching is returning 0 records.

To Reproduce

const response = await cloudflare.dns.records.list({
  zone_id: this.zoneId,
  name: {
    exact: 'www',
  },
});

console.log(response.result.length);

Code snippets


OS

macOS

Runtime version

Typescript 5.7.2

Library version

v5.0.0

greg-md avatar Sep 05 '25 17:09 greg-md

Reproduce the bug using dns.records.list with exact and endswith.

Inspect payloads to locate the fault—wrapper or upstream.

Fix query serialization if needed, add tests, and update docs.

kallal79 avatar Oct 09 '25 01:10 kallal79