Hakrevdns
Reverse DNS lookup tool
Recon & OSINT3 commands
#dns#reverse#resolve#hakluke
Installation
1Install Go 1.16+ on your system
2Run the Go install command
3Verify installation
go install github.com/hakluke/hakrevdns@latest
# Verify
hakrevdns -hBasic Usage
Hakrevdns performs reverse DNS lookups on IP addresses to discover associated domain names
# Reverse DNS from stdin
cat ips.txt | hakrevdns
# Custom DNS servers
cat ips.txt | hakrevdns -r 8.8.8.8 -r 1.1.1.1
# Output to file
cat ips.txt | hakrevdns > domains.txt
# Reduce concurrency
cat ips.txt | hakrevdns -t 10Command Reference
3 commands
1Custom DNS server (can be used multiple times)
-r2Number of concurrent threads (default: 100)
-t3Domain filter — only show PTRs matching this domain
-dWhen to Use
1
Enumerating domains on known IP ranges2
Finding virtual hosts sharing an IP address3
Expanding attack surface from IP data4
Cloud asset discovery from IP listsNotes & Tips
1
Fast and concurrent — built by hakluke for bug bounty workflows2
Pipe-friendly design for easy integration3
Results depend on PTR records being configured4
Combine with httpx to find live web serversCommon Errors & Solutions
No PTR records found
Many IPs don't have reverse DNS configured; this is expected
Slow resolution
Use -t to increase threads or specify faster DNS servers with -r