> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Search DNS Records

Returns a filtered list of DNS records.

<Note>
  External Documentation

  To learn more, visit the [IBM NS1 Connect documentation](https://developer.ibm.com/apis/catalog/ns1--ibm-ns1-connect-api/api/API--ns1--ibm-ns1-connect-api#listDnsRecordsSearch).
</Note>

## Basic Parameters

<div className="integrations-table">
  | Parameter | Description                                                                                                                                                              |
  | --------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
  | Answers   | DNS answers by which to filter results.<br />**Note**: Text can be prefixed and/or suffixed with \* for pattern matching.                                                |
  | Domain    | Domain or subdomain by which to filter results.                                                                                                                          |
  | Expand    | Set to true to expand the search results to include record details.                                                                                                      |
  | Tags      | List of one or more tags by which to filter results. <br />`Note:` You can prepend the key and/or value with an asterisk (e.g., tag=key or tag=\*key or tag=key=>value). |
  | Type      | Record type by which to filter results.                                                                                                                                  |
  | Version   | The ID associated with the zone version. The response includes zone data corresponding to the specified zone version. If not set, the active zone version is returned.   |
</div>

## Advanced Parameters

<div className="integrations-table">
  | Parameter  | Description                                                                                                                                                                                                               |
  | ---------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | Limit      | Maximum number of results to return in the response. Default is 20. A value of -1 means no limit.                                                                                                                         |
  | Next       | If pagination is enabled and the number of results exceeds the defined limit, then the response includes a "next" value which you can apply as a query parameter in a subsequent request to view the next set of results. |
  | Pagination | Set to true to enable pagination for the search results.                                                                                                                                                                  |
</div>

## Example Output

```json theme={"dark"}
{
	"total_results": 1,
	"next": "next",
	"limit": 1,
	"results": [
		{
			"domain": "www.example.com",
			"type": "A",
			"zone_fqdn": "example.com",
			"zone_handle": "example.com"
		}
	]
}
```

## Workflow Library Example

[Search Dns Records with Ibm Ns1 Connect and Send Results Via Email](https://library.blinkops.com/workflows/search-dns-records-with-ibm-ns1-connect-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/search-dns-records-with-ibm-ns1-connect-and-send-results-via-email/canvas" />
</div>
