dns
Creates, updates, deletes, gets or lists a dns resource.
Overview
| Name | dns |
| Type | Resource |
| Id | cloudflare.intel.dns |
Fields
The following fields are returned by SELECT queries:
- list
Get Passive DNS by IP response.
| Name | Datatype | Description |
|---|---|---|
count | number | Total results returned based on your search parameters. |
page | number | Current page within paginated list of results. |
per_page | number | Number of results per page of results. |
reverse_records | array | Reverse DNS look-ups observed during the time period. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | account_id | start_end_params, ipv4, page, per_page | Gets a list of all the domains that have resolved to a specific IP address. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
account_id | string | The Cloudflare account ID. |
ipv4 | string | |
page | number | |
per_page | number | |
start_end_params | object |
SELECT examples
- list
Gets a list of all the domains that have resolved to a specific IP address.
SELECT
count,
page,
per_page,
reverse_records
FROM cloudflare.intel.dns
WHERE account_id = '{{ account_id }}' -- required
AND start_end_params = '{{ start_end_params }}'
AND ipv4 = '{{ ipv4 }}'
AND page = '{{ page }}'
AND per_page = '{{ per_page }}'
;