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!


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.