Actions6
Overview
This node interacts with the Shodan API to resolve DNS hostnames to their corresponding IP addresses. It is useful for network administrators, security analysts, and developers who need to programmatically obtain IP addresses for a list of hostnames. For example, resolving multiple domain names to IPs for network monitoring or security assessments.
Use Case Examples
- Resolve a list of hostnames like 'google.com,facebook.com' to their IP addresses to verify DNS configurations.
- Batch resolve hostnames to avoid hitting API rate limits by using the batching options.
Properties
| Name | Meaning |
|---|---|
| Hostnames | Comma-separated list of hostnames to resolve to IP addresses. |
| Request Options | Settings to control request behavior such as batching, SSL certificate validation, proxy usage, and timeout duration. |
Output
JSON
ip- Resolved IP address for each hostname.hostnames- Original hostnames that were resolved.data- Additional data returned by the Shodan API for each resolved hostname.
Dependencies
- Requires Shodan API key credential for authentication.
Troubleshooting
- Ensure the Shodan API key credential is correctly configured and has sufficient permissions.
- If resolving fails, check that the hostnames are valid and properly formatted as a comma-separated string.
- Batching settings should be adjusted if hitting rate limits or timeouts occur.
- If SSL errors occur, consider enabling 'Ignore SSL Issues' option, but be aware of security risks.
- Proxy settings must be correct if used; otherwise, requests may fail.
Links
- Shodan DNS API Documentation - Official documentation for the DNS resolution endpoints used by this node.