reverse_dns
Look up hostnames from IP addresses to identify domains associated with specific network endpoints for security research and intelligence gathering.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | Yes | IP address to lookup hostname for |
Implementation Reference
- src/index.ts:159-167 (handler)The tool 'reverse_dns' is defined and registered directly in src/index.ts. It takes an 'ip' string as input and uses 'directDnsClient.reverse(ip)' to perform the lookup.
server.tool( "reverse_dns", { ip: z.string().describe("IP address to lookup hostname for") }, async ({ ip }) => { const result = await directDnsClient.reverse(ip); return { content: [{ type: "text", text: JSON.stringify(result, null, 2) }], }; }