Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2

Thread: rDNS lookup?

  1. #1
    Regular Coder
    Join Date
    Jul 2009
    Posts
    186
    Thanks
    72
    Thanked 2 Times in 2 Posts

    rDNS lookup?

    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.

  • #2
    Regular Coder
    Join Date
    Jul 2009
    Posts
    186
    Thanks
    72
    Thanked 2 Times in 2 Posts
    No knowledge? If it can't be done with Perl, can somebody at least point me in the right direction?


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •