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

# List Passive DNS

Get a list of the passive DNS records of a host. This is a forward DNS lookup that returns the IP addresses and records the host resolved to over time.

* **Least privileged** Microsoft Graph permission to access the action via **application**: `ThreatIntelligence.Read.All`.

> [!NOTE]
>
> External Documentation
>
> To learn more, visit the [Microsoft Defender XDR documentation](https://learn.microsoft.com/en-us/graph/api/security-host-list-passivedns?view=graph-rest-1.0\&tabs=http).

## Parameters

| Parameter | Description |
| - | - |
| Count | Select to return the total number of items in a collection or the number of items matching the specified query filters. For more information, refer to [Microsoft Query Parameters Documentation](https://learn.microsoft.com/en-us/graph/query-parameters?tabs=http#count-parameter). |
| Filter | The filtering criteria to filter results using `OData Query Syntax`. For example - `recordType eq 'A'`. Only one property can be filtered per request. The supported property is `recordType`. |
| Host ID | The hostname or IP address to look up. |
| Order By | The property to sort the results by, followed by the sort direction (`asc` or `desc`). The supported properties are `firstSeenDateTime` and `lastSeenDateTime`. For example - `lastSeenDateTime desc`. |
| Return All Pages | Automatically fetch all resources, page by page. |
| Select | A comma-separated list of properties to return for each object in the response. |
| Skip | The `$skip` query parameter is used to set the number of items to skip at the start of a collection. For more information on using `$skip`, refer to [Microsoft Query Parameters Documentation](https://learn.microsoft.com/en-us/graph/query-parameters?tabs=http#skip-parameter). |
| Top | The `$top` query parameter is used to specify the number of items to be included in the result. For more information on using `$top`, refer to [Microsoft Query Parameters Documentation](https://learn.microsoft.com/en-us/graph/query-parameters?tabs=http#top-parameter). |

## Example Output

```json theme={"dark"}
{
	"value": [
		{
			"@odata.type": "#microsoft.graph.security.passiveDnsRecord",
			"id": "Y29udG9zby5jb20kJDIwLjEwMy44NS4zMyQkZmFsc2U=",
			"firstSeenDateTime": "2022-04-18T10:31:12Z",
			"lastSeenDateTime": "2023-03-07T13:19:35Z",
			"collectedDateTime": "2023-03-07T13:59:34.735Z",
			"recordType": "A",
			"parentHost": {
				"id": "contoso.com"
			},
			"artifact": {
				"@odata.type": "#microsoft.graph.security.ipAddress",
				"id": "20.103.85.33"
			}
		}
	]
}
```
