73

How and from where websites like this http://www.yougetsignal.com/tools/web-sites-on-web-server/ are getting this information from? How can I develop such tool?

Thank you.

NG.
  • 22,560
  • 5
  • 55
  • 61
Kirzilla
  • 16,368
  • 26
  • 84
  • 129
  • duplicate https://superuser.com/questions/287577/how-to-find-a-domain-based-on-the-ip-address – rofrol Feb 27 '15 at 11:26

6 Answers6

118

You can use nslookup on the IP. Reverse DNS is defined with the .in-addr.arpa domain.

Example:

nslookup somedomain.com

yields 123.21.2.3, and then you do:

nslookup 123.21.2.3

this will ask 3.2.21.123.in-addr.arpa and yield the domain name (if there is one defined for reverse DNS).

polemon
  • 4,722
  • 3
  • 37
  • 48
  • It only displays one domain. Is there a way or parameter to list all the domains pointing to a specific IP address? – Pathros Jun 11 '21 at 18:04
9

You can use ping -a <ip> or nbtstat -A <ip>

zehnaseeb
  • 397
  • 3
  • 5
8

They're just trawling lists of web sites, and recording the resulting IP addresses in a database.

All you're seeing is the reverse mapping of that list. It's not guaranteed to be a full list (indeed more often than not it won't be) because it's impossible to learn every possible web site address.

Alnitak
  • 334,560
  • 70
  • 407
  • 495
3

windows user can just using the simple nslookup command

G:\wwwRoot\JavaScript Testing>nslookup 208.97.177.124
Server:  phicomm.me
Address:  192.168.2.1

Name:    apache2-argon.william-floyd.dreamhost.com
Address:  208.97.177.124


G:\wwwRoot\JavaScript Testing>

http://www.guidingtech.com/2890/find-ip-address-nslookup-command-windows/

if you want get more info, please check the following answer!

https://superuser.com/questions/287577/how-to-find-a-domain-based-on-the-ip-address/1177576#1177576

Community
  • 1
  • 1
xgqfrms
  • 10,077
  • 1
  • 69
  • 68
1

From about section of Reverse IP Domain Check tool on yougetsignal:

A reverse IP domain check takes a domain name or IP address pointing to a web server and searches for other sites known to be hosted on that same web server. Data is gathered from search engine results, which are not guaranteed to be complete.

Emre Yazici
  • 10,136
  • 6
  • 48
  • 55
  • Not always. Hoster can change reverse DNS lookup. I would do -1 for that , but i can't. btw, reverse dns used by mail services like google and other. – fhntv24 Jan 26 '15 at 17:34
0

This worked for me to get domain in intranet

https://gist.github.com/jrothmanshore/2656003

It's a powershell script. Run it in PowerShell

.\ip_lookup.ps1 <ip>
rofrol
  • 14,438
  • 7
  • 79
  • 77