homepage Welcome to WebmasterWorld Guest from 54.234.2.94
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / Perl Server Side CGI Scripting
Forum Library, Charter, Moderators: coopster & jatar k & phranque

Perl Server Side CGI Scripting Forum

    
IP->ISP/Org
finding ISP and org name from an IP
mactac




msg:432453
 4:33 pm on Jun 11, 2004 (gmt 0)

Does anyone have a perl script that can do an IP to ISP name and Organization name lookup?

I would imagine it would query apnic,ripe&Arin to find them, but perhaps ther is another way?

thanks!

Paul

 

mactac




msg:432454
 10:55 pm on Jun 23, 2004 (gmt 0)

anyone?

DrDoc




msg:432455
 5:57 am on Jun 24, 2004 (gmt 0)

You can just do an nslookup using a system command. Or, I would imagine there's a Perl module or two that can do this.

mactac




msg:432456
 7:00 am on Jun 24, 2004 (gmt 0)

nslookup does a lookup on a domain name afaik... i'm looking to do an ip-> ISP

VectorJ




msg:432457
 8:32 pm on Jun 24, 2004 (gmt 0)

I think Net::DNS [search.cpan.org...] should do what you want.

mactac




msg:432458
 9:01 pm on Jun 24, 2004 (gmt 0)

but is that not just for domain names?

Again, I'm looking for IP ADDRESS -> ISP/Org

ie

206.11.132.13 = "Telus internet services"

GeorgeGG




msg:432459
 9:30 pm on Jun 24, 2004 (gmt 0)

Something like:
'whois -h whois.arin.net six4.two33.one67.one04'
gives
^OrgName = Google Inc.^

GeorgeGG

mactac




msg:432460
 9:47 pm on Jun 24, 2004 (gmt 0)

right. but that's for arin.... need to determine who is the auth for the ip block first. ripe,arin,lacnic,apnic, etc

GeorgeGG




msg:432461
 10:57 pm on Jun 24, 2004 (gmt 0)

need to determine who is the auth for the ip block first
If you mean something like this, sticky me.
005.000.000.000-005.255.255.255¦whois.?rin.net¦RESERVED¦
064.000.000.000-064.255.255.255¦whois.?rin.net
080.000.000.000-080.255.255.255¦whois.?ipe.net
200.000.000.000-200.255.255.255¦whois.?acnic.net
207.203.000.000-207.203.255.255¦rwhois.eng.?ellsouth.net:4321

GeorgeGG

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Perl Server Side CGI Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved