Resolve IP/CIDR to domains/subdomains #1567
Unanswered
SnazzyNivesh522
asked this question in
Q&A
Replies: 1 comment
-
|
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. |
Beta Was this translation helpful? Give feedback.
0 replies
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?
Beta Was this translation helpful? Give feedback.
All reactions