WebsiteBaker Community Forum

General Community => Off-Topic => Topic started by: pcwacht on May 31, 2012, 10:32:02 PM

Title: Reverse DNS lookup
Post by: pcwacht on May 31, 2012, 10:32:02 PM
Hi,

I need a tool to see wich websites are running on a given ipadres.

Thanks,
John
Title: Re: Reverse DNS lookup
Post by: DarkViper on May 31, 2012, 10:52:17 PM
short answer:

gethostbyaddr() (http://de3.php.net/manual/en/function.gethostbyaddr.php)  ;)

To detect all domains assigned to one IP is nearly impossible.
Each vHost can be served by different DNS Machines so first you must find all of it...  
A direct IP-request/ping normally will return the default host of the connected machine only. But no vHosts.
Title: Re: Reverse DNS lookup
Post by: pcwacht on May 31, 2012, 11:28:37 PM
It doesn't have to be an php function.

There are search machine ip collectors fetching ipadresses like: http://bgp.he.net/net/159.253.0.0/21#_dns
But they have outdated data. The website www.dev4me.nl (Ruud's) run on 159.253.0.80 and it is not listed there. Even the company's site isn't listed.

I am having some trouble convincing the webhostcompany, owner of that range, that most of his hosted sites can't be reached by work internetconnections (8 connections serving 2800 pc's!). Might have to do with young inexperienced cheap support people.
Stupid answers like if you can ping we don't block while telnet 80 doesn't connect etc. Allso it looks like answers have a obligate 24 hour delay.
The blocking seems rangewise.

When I can show them how much websites we can't reach maybe they will listen.

The only one I currently know wich work a bit is bgp.he.net, but I don't trust it since dev4me isn't in the list.

I know the nameservers of that company, they lie in the same range and have ofcouse dnsports opened.

So I could go 2 ways, preferably both:
1 - reverse ip lookup harvesters, like bgp.he.net
2 - read dns servers 'A' records wich give allso load of ipadresses wich aren't there, but I hope allso a load who are (they sell resellers plans real cheap)

But don't have the (online-)tools to start, thus my question.

Thanx in advance,
John
Title: Re: Reverse DNS lookup
Post by: kweitzel on June 01, 2012, 05:50:36 AM
Domaintools.com used to have that service ...

cheers

Klaus