/rblwatch

RBL lookups with Python

Primary LanguagePythonBSD 2-Clause "Simplified" LicenseBSD-2-Clause

rblwatch

rblwatch is a utility for doing RBL lookups with Python. This is the code that provides the lookup functionality for http://www.mxutils.com

Requirements

Python 2.x, PyPy

dnspython==1.11.1
IPy==0.81

Python3

dnspython3==1.11.1
IPy==0.81

Author

Usage

from rblwatch import RBLSearch

# Do the lookup (for smtp.gmail.com)
searcher = RBLSearch('74.125.93.109')

# Display a simply formatted report of the results
searcher.print_results()

# Use the result data for something else
result_data = searcher.listed

License

This code is released under the BSD license.