View Full Version : rDNS lookup?

04-08-2010, 11:56 PM
Hello. I am trying to perform a reverse DNS (rDNS) lookup so that I can get information about users that visit my site. The information I want to get is: IP Address, ISP, Organization, Hostname, Connection, Assignment, City, Region, Country, and any other similar information.

I can easily use PHP to get the IP address by using $_SERVER['REMOTE_ADDR'] and hostname by using gethostbyaddr(). However, what I want to do is a little more difficult.

I asked my professor and he said it can be done in Perl which is why I am posting the question here.

What I want is extremely similar to what is done at http://whatismyipaddress.com/.

Thanks in advance for any help.

04-09-2010, 07:30 PM
No knowledge? If it can't be done with Perl, can somebody at least point me in the right direction?