> ## 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.

# Get Resource Records

Get a list of all resource records within a specified DNS.

**Important Note:** This action is only available when using the `V2` connection method of BlueCat Address Manager.

> [!NOTE]
>
> External Documentation
>
> To learn more, visit the [BlueCat Address Manager documentation](https://docs.bluecatnetworks.com/r/Address-Manager-RESTful-v2-API-Guide/Introduction/9.6.0).

## Parameters

| Parameter | Description |
| - | - |
| Collection ID | The ID of the zones collection to search the resource records within. |
| Fields | A comma-separated list of fields to include in the response.  **For example** - `id,name,type`. |
| Filter | A criteria to filter the results by. |
| Include Total Results | Select to get the total number of results in the response. |
| Limit | The maximum number of results to return per page. |
| Offset | The pagination offset indicating the starting point for the next set of results. |
| Order By | The attribute to sort the results with. |
| Return All Pages | Automatically fetch all resources, page by page. |

## Example Output

```json theme={"dark"}
{
	"_links": {
		"next": {
			"href": "/api/v2/resourceRecords?offset=2000&limit=1000"
		},
		"prev": {
			"href": "/api/v2/resourceRecords?offset=0&limit=1000"
		}
	},
	"count": 0,
	"totalCount": 0,
	"data": [
		{
			"id": 12345,
			"type": "ResourceRecord",
			"name": "name",
			"userDefinedFields": {
				"udf1": "value1",
				"udf2": "value2"
			},
			"configuration": {
				"id": 12345,
				"type": "Configuration",
				"name": "name"
			},
			"ttl": 3600,
			"absoluteName": "host1.example.com",
			"comment": "Sample comment.",
			"dynamic": true,
			"recordType": "CNAME",
			"linkedRecord": {
				"id": 12345,
				"type": "ResourceRecord",
				"name": "name",
				"absoluteName": "host1.example.com"
			},
			"_links": {
				"self": {
					"href": "/resourceRecords/12345"
				},
				"collection": {
					"href": "/resourceRecords"
				}
			}
		},
		{
			"id": 12345,
			"type": "ResourceRecord",
			"name": "name",
			"userDefinedFields": {
				"udf1": "value1",
				"udf2": "value2"
			},
			"configuration": {
				"id": 12345,
				"type": "Configuration",
				"name": "name"
			},
			"ttl": 3600,
			"absoluteName": "host1.example.com",
			"comment": "Sample comment.",
			"dynamic": true,
			"_links": {
				"self": {
					"href": "/resourceRecords/12345"
				},
				"collection": {
					"href": "/resourceRecords"
				}
			}
		},
		{
			"id": 12345,
			"type": "ResourceRecord",
			"name": "name",
			"userDefinedFields": {
				"udf1": "value1",
				"udf2": "value2"
			},
			"configuration": {
				"id": 12345,
				"type": "Configuration",
				"name": "name"
			},
			"ttl": 3600,
			"absoluteName": "host1.example.com",
			"comment": "Sample comment.",
			"dynamic": true,
			"recordType": "A",
			"rdata": "3 1 1 ecc104c4fbb06b249d3c7a68f19cf28a60a9c6814874ad7efde451688039fe01",
			"_links": {
				"self": {
					"href": "/resourceRecords/12345"
				},
				"collection": {
					"href": "/resourceRecords"
				}
			}
		},
		{
			"id": 12345,
			"type": "ResourceRecord",
			"name": "name",
			"userDefinedFields": {
				"udf1": "value1",
				"udf2": "value2"
			},
			"configuration": {
				"id": 12345,
				"type": "Configuration",
				"name": "name"
			},
			"ttl": 3600,
			"absoluteName": "host1.example.com",
			"comment": "Sample comment.",
			"dynamic": true,
			"recordType": "HINFO",
			"os": "Debian Linux 5.10",
			"cpu": "INTEL",
			"_links": {
				"self": {
					"href": "/resourceRecords/12345"
				},
				"collection": {
					"href": "/resourceRecords"
				}
			}
		},
		{
			"id": 12345,
			"type": "ResourceRecord",
			"name": "name",
			"userDefinedFields": {
				"udf1": "value1",
				"udf2": "value2"
			},
			"configuration": {
				"id": 12345,
				"type": "Configuration",
				"name": "name"
			},
			"ttl": 3600,
			"absoluteName": "host1.example.com",
			"comment": "Sample comment.",
			"dynamic": true,
			"recordType": "UNKNOWN(-1)",
			"reverseRecord": true,
			"_links": {
				"self": {
					"href": "/resourceRecords/12345"
				},
				"collection": {
					"href": "/resourceRecords"
				}
			}
		},
		{
			"id": 12345,
			"type": "ResourceRecord",
			"name": "name",
			"userDefinedFields": {
				"udf1": "value1",
				"udf2": "value2"
			},
			"configuration": {
				"id": 12345,
				"type": "Configuration",
				"name": "name"
			},
			"ttl": 3600,
			"absoluteName": "host1.example.com",
			"comment": "Sample comment.",
			"dynamic": true,
			"linkedRecord": {
				"id": 12345,
				"type": "string",
				"name": "name",
				"absoluteName": "host1.example.com"
			},
			"priority": 65535,
			"serviceParameters": {
				"encryptedClientHello": [
					"string"
				],
				"defaultAlpnIdentifierEnabled": true,
				"port": 65535,
				"alpnIdentifiers": [
					"string"
				],
				"ipv4AddressHints": [
					"string"
				],
				"ipv6AddressHints": [
					"string"
				],
				"mandatoryKeys": [
					"string"
				],
				"privateUseValues": {
					"additionalProp1": "string",
					"additionalProp2": "string",
					"additionalProp3": "string"
				}
			},
			"recordType": "HTTPS",
			"_links": {
				"self": {
					"href": "/resourceRecords/12345"
				},
				"collection": {
					"href": "/resourceRecords"
				}
			}
		},
		{
			"id": 12345,
			"type": "ResourceRecord",
			"name": "name",
			"userDefinedFields": {
				"udf1": "value1",
				"udf2": "value2"
			},
			"configuration": {
				"id": 12345,
				"type": "Configuration",
				"name": "name"
			},
			"ttl": 3600,
			"absoluteName": "host1.example.com",
			"comment": "Sample comment.",
			"dynamic": true,
			"recordType": "MX",
			"linkedRecord": {
				"id": 12345,
				"type": "string",
				"name": "name",
				"absoluteName": "host1.example.com"
			},
			"priority": 2147483647,
			"_links": {
				"self": {
					"href": "/resourceRecords/12345"
				},
				"collection": {
					"href": "/resourceRecords"
				}
			}
		},
		{
			"id": 12345,
			"type": "ResourceRecord",
			"name": "name",
			"userDefinedFields": {
				"udf1": "value1",
				"udf2": "value2"
			},
			"configuration": {
				"id": 12345,
				"type": "Configuration",
				"name": "name"
			},
			"ttl": 3600,
			"absoluteName": "host1.example.com",
			"comment": "Sample comment.",
			"dynamic": true,
			"recordType": "NAPTR",
			"order": 50,
			"preference": 100,
			"service": "http+I2R",
			"regularExpression": "!http://(#~()##@+)!\\1!i4",
			"replacement": "_http._tcp.example.com.",
			"flags": "s",
			"_links": {
				"self": {
					"href": "/resourceRecords/12345"
				},
				"collection": {
					"href": "/resourceRecords"
				}
			}
		},
		{
			"id": 12345,
			"type": "ResourceRecord",
			"name": "name",
			"userDefinedFields": {
				"udf1": "value1",
				"udf2": "value2"
			},
			"configuration": {
				"id": 12345,
				"type": "Configuration",
				"name": "name"
			},
			"ttl": 3600,
			"absoluteName": "host1.example.com",
			"comment": "Sample comment.",
			"dynamic": true,
			"recordType": "SRV",
			"linkedRecord": {
				"id": 12345,
				"type": "string",
				"name": "name",
				"absoluteName": "host1.example.com"
			},
			"priority": 50,
			"weight": 50,
			"port": 5432,
			"_links": {
				"self": {
					"href": "/resourceRecords/12345"
				},
				"collection": {
					"href": "/resourceRecords"
				}
			}
		},
		{
			"id": 12345,
			"type": "ResourceRecord",
			"name": "name",
			"userDefinedFields": {
				"udf1": "value1",
				"udf2": "value2"
			},
			"configuration": {
				"id": 12345,
				"type": "Configuration",
				"name": "name"
			},
			"ttl": 3600,
			"absoluteName": "host1.example.com",
			"comment": "Sample comment.",
			"dynamic": true,
			"linkedRecord": {
				"id": 12345,
				"type": "string",
				"name": "name",
				"absoluteName": "host1.example.com"
			},
			"priority": 65535,
			"serviceParameters": {
				"encryptedClientHello": [
					"string"
				],
				"defaultAlpnIdentifierEnabled": true,
				"port": 65535,
				"alpnIdentifiers": [
					"string"
				],
				"ipv4AddressHints": [
					"string"
				],
				"ipv6AddressHints": [
					"string"
				],
				"mandatoryKeys": [
					"string"
				],
				"privateUseValues": {
					"additionalProp1": "string",
					"additionalProp2": "string",
					"additionalProp3": "string"
				}
			},
			"recordType": "SVCB",
			"_links": {
				"self": {
					"href": "/resourceRecords/12345"
				},
				"collection": {
					"href": "/resourceRecords"
				}
			}
		},
		{
			"id": 12345,
			"type": "ResourceRecord",
			"name": "name",
			"userDefinedFields": {
				"udf1": "value1",
				"udf2": "value2"
			},
			"configuration": {
				"id": 12345,
				"type": "Configuration",
				"name": "name"
			},
			"ttl": 3600,
			"absoluteName": "host1.example.com",
			"comment": "Sample comment.",
			"dynamic": true,
			"recordType": "TXT",
			"text": "printer=OfficePrinter1",
			"_links": {
				"self": {
					"href": "/resourceRecords/12345"
				},
				"collection": {
					"href": "/resourceRecords"
				}
			}
		},
		{
			"id": 12345,
			"type": "ResourceRecord",
			"name": "name",
			"userDefinedFields": {
				"udf1": "value1",
				"udf2": "value2"
			},
			"configuration": {
				"id": 12345,
				"type": "Configuration",
				"name": "name"
			},
			"ttl": 3600,
			"absoluteName": "host1.example.com",
			"comment": "Sample comment.",
			"dynamic": true,
			"recordType": "URI",
			"priority": 65535,
			"weight": 65535,
			"target": "<target>",
			"_links": {
				"self": {
					"href": "/resourceRecords/12345"
				},
				"collection": {
					"href": "/resourceRecords"
				}
			}
		}
	]
}
```
