/dnsbl4j

DNSBL Checker for Java

Primary LanguageJavaApache License 2.0Apache-2.0

"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