POE::Component::Client::Whois::IPBlks - Determine which whois server is responsible for a network address.
version 1.36
use strict; use POE::Component::Client::Whois::IPBlks; my $ipblks = POE::Component::Client::Whois::IPBlks->new(); my $whois_server = $ipblks->get_server('192.168.1.12');
POE::Component::Client::Whois::IPBlks provides the ability to determine which whois server is responsible for a network address. It has a list of network ranges mapped to whois servers and uses Net::Netmask to determine the appropriate Whois server for the given address.
new
Returns a POE::Component::Client::Whois::IPBlks object.
get_server
Takes a single argument, an IP address to lookup the Whois for. Returns the applicable whois server or undef on failure.
Net::Netmask
http://www.iana.org/assignments/ipv4-address-space/ipv4-address-space.xhtml
Chris Williams <chris@bingosnet.co.uk>
This software is copyright (c) 2015 by Chris Williams.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install POE::Component::Client::Whois, copy and paste the appropriate command in to your terminal.
cpanm
cpanm POE::Component::Client::Whois
CPAN shell
perl -MCPAN -e shell install POE::Component::Client::Whois
For more information on module installation, please visit the detailed CPAN module installation guide.