Sergey Kotenko > Net-Whois-Gateway-Server-0.07 > Net::Whois::Gateway::Server

Download:
Net-Whois-Gateway-Server-0.07.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.07   Source   Latest Release: Net-Whois-Gateway-Server-0.09

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

syntax highlighting: