Net::Whois::RIS - Whois lookup on RIPE RIS
Version 0.7
The module query the RIPE Routing Information Service (RIS) whois to get information about a specific IP address. You can get information like the AS number announcing the IP address/network.
use Net::Whois::RIS; my $foo = Net::Whois::RIS->new(); $foo->getIPInfo("8.8.8.8"); print $foo->getOrigin(); print $foo->getDescr();
The module can also query the Web interface to gather additional information via the Ajax interface of the RIPE RIS dashboard. The main use is to gather the list of announced prefixes for an ASN.
use Net::Whois::RIS; my $foo = Net::Whois::RIS->new(); $foo->getASNInfo("12684"); print $foo->getPrefixes();
The module's first objective was to provide an easy IP to ASN mapping interface via Perl.
For more information about the RIPE Routing Information Service :
http://www.ripe.net/ris/
The object oriented interface to Net::Whois::RIS is described in this section.
Net::Whois::RIS
The following methods are provided:
This constructor returns a new Net::Whois::RIS object encapsulating whois request to RIPE RIS.
The method is gathering the information from the RIS service using the whois protocol.
The method is gathering the prefixes announced via the RIS service Ajax (as the whois RIS interface is not providing the service).
The method returns the list of prefixes announced by an ASN.
The method returns a string containing the originating ASN of the network/IP requested.
The method returns a string containing the description of the ASN announcing the network/IP requested.
The method returns a string containing the most specific route match for the requested network/IP address.
Alexandre Dulaunoy, <adulau at foo.be>
<adulau at foo.be>
Please report any bugs or feature requests to bug-net-whois-ris at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Net-Whois-RIS. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-net-whois-ris at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc Net::Whois::RIS
You can also look for information at:
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Net-Whois-RIS
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/Net-Whois-RIS
CPAN Ratings
http://cpanratings.perl.org/d/Net-Whois-RIS
Search CPAN
http://search.cpan.org/dist/Net-Whois-RIS/
Copyright 2010-2015 Alexandre Dulaunoy.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
To install Net::Whois::RIS, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::Whois::RIS
CPAN shell
perl -MCPAN -e shell install Net::Whois::RIS
For more information on module installation, please visit the detailed CPAN module installation guide.