How can I obtain a user's DNS info? - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

How can I obtain a user's DNS info?

I've figured out how to obtian someone's IP address using PERL, and I use it to ban unwelcome users from my Message Board. An IP ban is rather hard to implement since most people use dial up ISP's and it's hard to know what range of IP's to ban (especially with AOL). I want to know if it's possible to convert that IP address into DNS info (ex. I'm not sure what the exact term for that is. Anyway, if someone knows how I could translate the IP's I'd really like to know! Thanks a lot.



  • There is a perl module, which has all the functions that you can find in the Clib such as

    gethostbyname , worth takin a look, I dont remember how its called

Sign In or Register to comment.