Skip to content

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

@greg-md

Description

@greg-md

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

  • 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions