NAME
Net::Whois::RIS - Whois lookup on RIPE RIS
VERSION
Version 0.2
SYNOPSIS
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'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/
methods
The object oriented interface to Net::Whois::RIS is described in this section.
The following methods are provided:
- Net::Whois::RIS->new();
-
This constructor returns a new
Net::Whois::RISobject encapsulating whois request to RIPE RIS. - getIPInfo($ipaddress);
-
The method is gathering the information from the RIS service.
- getOrigin();
-
The method returns a string containing the originating ASN of the network/IP requested.
- getDescr();
-
The method returns a string containing the description of the ASN announcing the network/IP requested.
- getRoute();
-
The method returns a string containing the most specific route match for the requested network/IP address.
AUTHOR
Alexandre Dulaunoy, <adulau at foo.be>
BUGS
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.
SUPPORT
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
AnnoCPAN: Annotated CPAN documentation
CPAN Ratings
Search CPAN
ACKNOWLEDGEMENTS
LICENSE AND COPYRIGHT
Copyright 2010 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.