Resolve IP/CIDR to domains/subdomains #1567
Unanswered
SnazzyNivesh522
asked this question in
Q&A
Replies: 1 comment 1 reply
|
For reverse IP/CIDR to domain lookups, here are some tools: 1. hakrevdns (projectdiscovery) echo "1.2.3.4" | hakrevdns
prips 192.168.0.0/24 | hakrevdns2. dnsx reverse lookup echo "1.2.3.4" | dnsx -ptr -resp-only
prips 10.0.0.0/24 | dnsx -ptr -resp-only3. Online services with APIs:
4. For larger CIDR blocks: prips 10.0.0.0/16 | dnsx -ptr -resp-only -t 100 -o domains.txt5. Using nmap: nmap -sL 192.168.1.0/24 | grep "scan report" | awk "{print \$5}"Note: PTR records only show what the IP owner has configured, not necessarily all domains hosted there. For comprehensive results, combine with Shodan/Censys data. |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Are there any tools/methods to resolve IP/CIDR to domains/subdomains?
All reactions