Perl

Moderators: Jonathan
Number of threads: 1236
Number of posts: 3605

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Edit Report
How can I obtain a user's DNS info? Posted by Vimm on 28 Jun 2000 at 2:21 PM
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. du-148-233-111-232.prodigy.net.mx). 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.<br>
<br>
Vimm


Edit Report
Re: How can I obtain a user's DNS info? Posted by GuruMuhk on 3 Jul 2000 at 7:43 PM
There is a perl module, which has all the functions that you can find in the Clib such as<br>
gethostbyname , worth takin a look, I dont remember how its called





 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.