Name icon

Name

Interact with Name API

Domain Name System → List Records

AI-generated

Summary

Retrieves a paginated list of DNS records for a specified domain zone.

Inputs

  • domainName (required) — The domain name to list records for.
  • perPage (required) — The number of records to return per request. Defaults to 100.
  • page (required) — The page number to return. Defaults to 1.
  • requestOptions — Additional request options including batching, SSL settings, proxy, and timeout.

Output shape

A list of items, each containing a DNS record object.

Returns records for the specified domain. Pagination is handled via the page and perPage parameters.

Examples

Example 1: List the first 50 DNS records for example.com

domainName: example.com, perPage: 50, page: 1

Example 2: Retrieve the second page of results with 25 records per page

domainName: example.com, perPage: 25, page: 2

Links

Discussion