NAME

POE::Component::Client::Whois::IPBlks - determine which whois server is responsible for a network address.

SYNOPSIS

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');

DESCRIPTION

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.

CONSTRUCTOR

new

Returns a POE::Component::Client::Whois::IPBlks object.

METHODS

get_server

Takes a single argument, an IP address to lookup the Whois for. Returns the applicable whois server or undef on failure.

AUTHOR

Chris 'BinGOs' Williams

SEE ALSO

Net::Netmask