Shodan icon

Shodan

Interact with Shodan API

Actions8

DNS Record → Resolve

AI-generated

Summary

Resolves one or more hostnames to IP addresses by sending a GET request to Shodan’s /dns/resolve endpoint. Provide a comma-separated hostname list and a Shodan API key; request options can control batching, TLS certificate validation, proxy use, and timeout.

Inputs

  • Hostnames (required) — Comma-separated hostnames to resolve, such as google.com,facebook.com; sent as the hostnames query parameter.
  • Request Options — Optional request settings: batch size (default 50; -1 disables batching and 0 is treated as 1) and interval between batches in milliseconds (default 1000; 0 disables the interval), whether to accept invalid SSL certificates (default false), an HTTP proxy, and request timeout in milliseconds (default 10000).

Output shape

A single response containing the resolved hostname-to-IP mappings.

The operation uses Shodan’s DNS resolve endpoint. A Shodan API key is required. The source declares the GET endpoint and query parameter but does not specify response wrapping or per-item output behavior.

Links

Discussion