GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  NET::ABUSE::UTILS::SPAMHAUS (3)

.ds Aq ’

NAME

Net::Abuse::Utils::Spamhaus - Perl extension for checking data against the spamhaus blacklists

CONTENTS

SYNOPSIS



  use Net::Abuse::Utils::Spamhaus qw(check_fqdn check_ip);
  my $addr = 222.186.44.110;
  my $ret = check_ip($addr);

  $addr = test;
  $ret = check_fqdn($addr);

  foreach (@$ret){
    warn $_->{assessment}.: .$_->{description}. -- .$_->{id};
  }



DESCRIPTION

    EXPORT

check_ip, check_fqdn

    FUNCTIONS

check_fqdn(<FQDN>)


  accepts: a fully qualified domain name (ex: example.com)
  returns: an ARRAYREF of HASHREFs based on the spamhaus dbl



check_ip(<ipv4-addr>)


  accepts: a properly formatted ipv4 address (ex: 1.1.1.1)
  returns: an ARRAY REF of HASHREFs based on feedback from the spamhaus zen list



SEE ALSO



  http://www.spamhaus.org/zen/
  http://www.spamhaus.org/dbl/



AUTHOR

Wes Young, <wes@barely3am.com>

COPYRIGHT AND LICENSE



  Copyright (C) 2012 by Wes Young (wesyoung.me)

  This library is free software; you can redistribute it and/or modify
  it under the same terms as Perl itself, either Perl version 5.10.1 or,
  at your option, any later version of Perl 5 you may have available.



Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 NET::ABUSE::UTILS::SPAMHAUS (3) 2014-11-03

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.