Skip to content

Latest commit

 

History

History
40 lines (32 loc) · 970 Bytes

README.md

File metadata and controls

40 lines (32 loc) · 970 Bytes

"Buy Me A Coffee"

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