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


Net-Whois-Gateway-Server documentation  | view source Contained in the Net-Whois-Gateway-Server distribution.

Index


NAME

Top

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

DESCRIPTION

Top

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

Top

    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

Top

Support single function start()

Starts whois gateway server, takes two optional arguments:

Defult port is 54321.

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

AUTHOR

Top

Sergey Kotenko <graykot@gmail.com>

SEE ALSO

Top

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


Net-Whois-Gateway-Server documentation  | view source Contained in the Net-Whois-Gateway-Server distribution.