Skip to main content

dns

Creates, updates, deletes, gets or lists a dns resource.

Overview

Namedns
TypeResource
Idcloudflare.intel.dns

Fields

The following fields are returned by SELECT queries:

Get Passive DNS by IP response.

NameDatatypeDescription
countnumberTotal results returned based on your search parameters.
pagenumberCurrent page within paginated list of results.
per_pagenumberNumber of results per page of results.
reverse_recordsarrayReverse DNS look-ups observed during the time period.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectaccount_idstart_end_params, ipv4, page, per_pageGets 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.

NameDatatypeDescription
account_idstringThe Cloudflare account ID.
ipv4string
pagenumber
per_pagenumber
start_end_paramsobject

SELECT examples

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 }}'
;