Skip to content

Latest commit

 

History

History
42 lines (34 loc) · 1.17 KB

README.md

File metadata and controls

42 lines (34 loc) · 1.17 KB

Stories in Ready Build Status Coverage Status

DNSBL4j (former RBLCheck4j)

dnsbl4j is a Java Framework implementation for DNSBL querying.

Usage

RBLChecker uses Fluent Interface pattern to make configuration more clean.

public void someMethod() {
    RBLChecker rblChecker = RBLChecker.newInstance()
                                      .withSource(new ZENSpamhaus())
                                      .withSource(new Spamcop())
                                      ;
    List<RBLError> errors = rblChecker.check("8.8.8.8");
    
    /*
        Do some stuff with the errors
    */
}

Well Known DNSBL Providers

Currently we have 2 well known providers implemented to simplify usage

TODO

  • XML Configuration

License

Apache V2.0