Shodan icon

Shodan

Interact with Shodan API

Actions6

Overview

This node interacts with the Shodan API to retrieve detailed information about a domain, including its subdomains and DNS entries. It is useful for cybersecurity professionals, network administrators, and researchers who need to gather DNS data and historical DNS records for a given domain. For example, it can be used to monitor domain configurations, investigate domain-related security issues, or gather intelligence on domain infrastructure.

Use Case Examples

  1. Retrieve all DNS records for 'example.com' to analyze its DNS setup.
  2. Fetch historical DNS data for a domain to track changes over time.

Properties

Name Meaning
Domain The domain name to lookup, e.g., 'google.com'.
History Whether to include historical DNS data in the response.
Type DNS record type to filter the results by.
Page Page number for paginated results, with 100 results per page.

Output

JSON

  • subdomains - List of subdomains associated with the domain.
  • dns_records - DNS entries for the domain filtered by the specified type.
  • history - Historical DNS data if requested.
  • page - Current page number of the results.

Dependencies

  • Requires an API key credential for Shodan API access.

Troubleshooting

  • Ensure the domain name is correctly formatted and valid to avoid errors.
  • If historical data is requested but not returned, verify that the Shodan API plan supports historical DNS data.
  • Timeout errors may occur if the server is slow; adjust the timeout setting in request options accordingly.
  • SSL certificate validation errors can be bypassed by enabling the 'Ignore SSL Issues' option, but this should be used cautiously.

Links

Discussion