NAME
WebService::Livedoor::SpamChampuru::DNSBL - Perl interface of SpamChampuru DNSBL WebService
VERSION
Version 0.01
SYNOPSIS
use WebService::Livedoor::SpamChampuru::DNSBL;
my $dnsbl = WebService::Livedoor::SpamChampuru::DNSBL->new(timeout => 1);
my $res = $dnsbl->lookup($ip_addr);
METHODS
new
Creates an WebService::Livedoor::SpamChampuru::DNSBL instance.
$dnsbl = WebService::Livedoor::SpamChampuru::DNSBL->new(timeout => $timeout, [nameservers => \@nameservers]);
lookup
Sends a DNS query to SpamChampuru DNSBL Server and checks if $ip_addr is classified as a source of spam. lookup
returns 1 for SPAM, 0 for HAM.
my $res = $dnsbl->lookup($ip_addr);
AUTHOR
Kensuke Kaneko, <k-kaneko at livedoor.jp>
SEE ALSO
http://spam-champuru.livedoor.com/ (Japanese text only)
COPYRIGHT & LICENSE
Copyright 2008 livedoor Co., Ltd., all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.