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


POE-Component-Client-Whois documentation  | view source Contained in the POE-Component-Client-Whois distribution.

Index


NAME

Top

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

SYNOPSIS

Top

  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

Top

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

Top

new

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

METHODS

Top

get_server

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

AUTHOR

Top

Chris BinGOs Williams

LICENSE

Top

Copyright © Chris Williams

This module may be used, modified, and distributed under the same terms as Perl itself. Please see the license that came with your Perl distribution for details.

SEE ALSO

Top

Net::Netmask


POE-Component-Client-Whois documentation  | view source Contained in the POE-Component-Client-Whois distribution.