capabilities.work

Resolve Hostname and Inspect Host

A 2-step recipe with Shodan. We can help you get access.

Recipe · 2 steps

Resolve Hostname and Inspect Host

with Shodan

Resolve a hostname and inspect the resulting host in Shodan.

  1. Resolve the supplied hostname to its current IP address using the Shodan DNS resolver. The response is a map of hostname to IP address.
  2. Look up the full Shodan host record for the resolved IP, returning all services that have been found on the host.
What you'll need to have ready
  • apiKey: Shodan API key passed as the `key` query parameter.
  • hostname: The hostname to resolve (e.g. "google.com").
  • resolvedIp: The IP returned by the resolve step for the supplied hostname. The resolver responds with a map keyed by hostname, so the chosen IP is carried forward through t
  • history: Whether to include historical banners in the host record.
For your developer

Arazzo workflow shodan:resolve-and-host-info, 2 operations: resolveHostnames → getHost. Specs on APIs.io.