Author Topic: Reverse DNS lookup  (Read 4402 times)

Offline pcwacht

  • Posts: 2923
  • Gender: Male
    • Dutch ICT info
Reverse DNS lookup
« 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
http://www.ictwacht.nl = Dutch ICT info
http://www.pcwacht.nl = My first
both still work in progress, since years.....

Offline DarkViper

  • Forum administrator
  • *****
  • Posts: 3043
  • Gender: Female
Re: Reverse DNS lookup
« Reply #1 on: May 31, 2012, 10:52:17 PM »
short answer:

gethostbyaddr()  ;)

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.
« Last Edit: May 31, 2012, 11:17:41 PM by DarkViper »
Der blaue Planet - er ist nicht unser Eigentum - wir haben ihn nur von unseren Nachkommen geliehen

"You have to take the men as they are… but you can not leave them like that !" :-P
Das tägliche Stoßgebet: Oh Herr, wirf Hirn vom Himmel !

Offline pcwacht

  • Posts: 2923
  • Gender: Male
    • Dutch ICT info
Re: Reverse DNS lookup
« Reply #2 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
http://www.ictwacht.nl = Dutch ICT info
http://www.pcwacht.nl = My first
both still work in progress, since years.....

Offline kweitzel

  • WebsiteBaker Org e.V.
  • **
  • Posts: 6983
  • Gender: Male
Re: Reverse DNS lookup
« Reply #3 on: June 01, 2012, 05:50:36 AM »
Domaintools.com used to have that service ...

cheers

Klaus

 

postern-length