NAME

Net::Whois::Gateway::Server - whois gateway

DESCRIPTION

Implementation of whois gateway server based on POE::Component::Client::Whois::Smart. Supports all its features. Communication whois gateway server implemented in Net::Whois::Gateway::Client This module also installs whois-gateway-d daemon in /usr/bin (or something similar, depending on your system). Also see scripts/init.d/whois-gateway in ditsro, which should be placed into /etc/init.d/

SYNOPSIS

use strict;
use Net::Whois::Gateway::Server;

my $port      = 54321;
my @local_ips = ('192.168.0.2', '192.168.0.3');

Net::Whois::Gateway::Server::start(
    port      => $port,
    local_ips => \@local_ips,
);

FUNCTIONS

Support single function start()

start()

Starts whois gateway server, takes two optional arguments:

port

Defult port is 54321.

local_ips

List of local IP addresses to use when quereing whois servers.

AUTHOR

Sergey Kotenko <graykot@gmail.com>

SEE ALSO

POE::Component::Client::Whois::Smart http://search.cpan.org/perldoc?POE::Component::Client::Whois::Smart

Net::Whois::Gateway::Client http://search.cpan.org/perldoc?Net::Whois::Gateway::Client

2 POD Errors

The following errors were encountered while parsing the POD:

Around line 105:

'=item' outside of any '=over'

Around line 117:

You forgot a '=back' before '=head1'