## Get Passive DNS by IP `intel.dns.list(DNSListParams**kwargs) -> SyncV4PagePagination[Optional[DNS]]` **get** `/accounts/{account_id}/intel/dns` Gets a list of all the domains that have resolved to a specific IP address. ### Parameters - `account_id: str` Identifier. - `ipv4: Optional[str]` - `page: Optional[float]` Requested page within paginated list of results. - `per_page: Optional[float]` Maximum number of results requested. - `start_end_params: Optional[StartEndParams]` - `end: Optional[Union[null, null]]` Defaults to the current date. - `start: Optional[Union[null, null]]` Defaults to 30 days before the end parameter value. ### Returns - `class DNS: …` - `count: Optional[float]` Total results returned based on your search parameters. - `page: Optional[float]` Current page within paginated list of results. - `per_page: Optional[float]` Number of results per page of results. - `reverse_records: Optional[List[ReverseRecord]]` Reverse DNS look-ups observed during the time period. - `first_seen: Optional[date]` First seen date of the DNS record during the time period. - `hostname: Optional[str]` Hostname that the IP was observed resolving to. - `last_seen: Optional[date]` Last seen date of the DNS record during the time period. ### Example ```python import os from cloudflare import Cloudflare client = Cloudflare( api_token=os.environ.get("CLOUDFLARE_API_TOKEN"), # This is the default and can be omitted ) page = client.intel.dns.list( account_id="023e105f4ecef8ad9ca31a8372d0c353", ) page = page.result.items[0] print(page.count) ``` #### Response ```json { "errors": [ { "code": 1000, "message": "message", "documentation_url": "documentation_url", "source": { "pointer": "pointer" } } ], "messages": [ { "code": 1000, "message": "message", "documentation_url": "documentation_url", "source": { "pointer": "pointer" } } ], "success": true, "result": { "count": 1, "page": 1, "per_page": 20, "reverse_records": [ { "first_seen": "2021-04-01", "hostname": "hostname", "last_seen": "2021-04-30" } ] }, "result_info": { "count": 1, "page": 1, "per_page": 20, "total_count": 2000 } } ```