Recon
Recover virtual hostnames from target IPs
hosthunter is an OSINT reconnaissance tool that discovers virtual hostnames by probing IP addresses and ranges with forward-confirmed reverse DNS, producing a list of hostnames that map the surrounding attack surface.
installgit clone https://github.com/SpiderLabs/HostHunter.git
commit 68b9bc4 on Trickest · Python · MIT license
Free plan: 1 user, 3 execution slots, no card.
overview
What hosthunter does
HostHunter reverses typical recon: start from IPs, recover the virtual hostnames each address serves. One IP often fronts many sites, so the interesting app rarely answers on the bare address.
Inputs are a targets file of IPs or a single -t address. --format writes CSV or TXT so the mapping lands in a spreadsheet or the next pipeline stage. Recovery leans on reverse DNS, TLS certificate names, and public OSINT sources.
Trickest runs HostHunter as a managed recon step that reads targets and writes a file plus a results folder. Place it after IP-range collection, then pass hostnames to httpx. For forward discovery from a domain, use subfinder.
source github.com/SpiderLabs/HostHunter · commit 68b9bc4 on Trickest
image quay.io/trickest/hosthunter:68b9bc4
use cases
hosthunter use cases
Resolve hostnames behind an IP range
Hand HostHunter a file of target IPs to recover the virtual hostnames each one serves, turning a netblock into named assets.
Expand a cloud or ASN scope
After mapping an organization's IP ranges, use HostHunter to find the hostnames on them, broadening the in-scope surface.
Export results for reporting
Choose CSV output to drop the IP-to-hostname mapping straight into a spreadsheet or asset inventory.
Feed a web probing pipeline
Pass discovered hostnames to httpx so the workflow continues against named web hosts instead of bare IPs.
reference
hosthunter inputs and flags
| Name | Type | Flag | Description |
|---|---|---|---|
| targets | FILE | · | File of target IP addresses to map to hostnames. |
| single-ip-target | STRING | -t | Scan a single IP instead of a file. |
| format | STRING | --format | Output file format, CSV or TXT. |
Showing key inputs. hosthunter exposes 3 inputs in total.
example
hosthunter command examples
# map a file of target IPs to hostnames, export as CSV
python3 hosthunter.py targets.txt --format csv[*] Loaded 6 target IP addresses
[+] 203.0.113.10 vpn.example.com
[+] 203.0.113.11 mail.example.com
[+] 198.51.100.24 www.example.com
[+] 198.51.100.25 api.example.com
[+] 198.51.100.26 staging.example.com
[!] 203.0.113.12 no hostname found
[*] 5 hostnames written to hosts.csvguidance
hosthunter vs alternatives
Use HostHunter when you start from IP addresses and need the hostnames behind them. For forward discovery from a domain, use subfinder. For live web verification of the hostnames it finds, follow with httpx.
faq
hosthunter FAQ
related
More Recon tools
amass-intel
OWASP Amass intel: map an organization's root domains and ranges.
bbot
Modular OSINT recon that chains modules from a seed target.
cloud-enum
Multi-cloud public name enumeration for AWS, Azure, and GCP.
findmytakeover
Multi-cloud dangling DNS detection via zone-to-inventory diff, not wordlists.
findomain
Passive subdomain enumeration with optional resolve and HTTP checks.
gobuster-dns
DNS subdomain brute force with wildcard handling.
Run hosthunter yourself
An IP list feeds HostHunter, which recovers the hostnames behind each address and passes them to httpx for live probing before they land as a queryable output.
Facts on this page come from the live Trickest tool library.