Mar 042013

Link to dnsbls.tar.gz

DNSBLS – An easy-to use DNS blacklist checker.
Requirements: Python 2.7.3
Written by: MadsRC @ 2012 – Released under the GNU GPLv3


DNSBLS came into existence as I had a need to regularly check certain mailserver for DNS blacklisting.

To use the script, simply execute it. First timers are encouraged to execute it with the argument -h to learn it’s syntax.

If you feel the need to add one or more DNS blacklists to the script, simply add it to the list defined in the script. Same goes for removing dns blacklists.


This is a tool that checks a specified list of 457 DNS blacklists, one at a time, and gives returns different formatted values to you. That is the short version.

Long version:
This tool was first created to check a few DNS spam blacklists, but now, by standard, checks any DNS blacklist that it is given. It is written to do one thing, check RBL blacklists, and it does that damn well. What you decide to do with the output is entirely up to you. It will take either an IP or hostname as input (argument -i) which it will then validate and run it through the list of DNS blacklists and give you some form of output. It can be as simple as telling you 1 if your on a list, or 0 if your not on a list or it can output the lists you’re on plus that lists “code” for what your input is on it for.


Examples: -i
Will tell you if you are on any of the lists that DNSBLS checks against. -i -s
Outputs 1 if you are on a list that DNSBLS checks against, and 0 if you aren’t -i -v
Outputs the lists you are on. -i -vv
Outputs every list that DNSBLS checks against, and tells you if you are on any of them. -l
Outputs every list that DNSBLS checks

TIP: -i also resolves hostnames

[email protected]:~# python -i
You are on one of my lists! - Use -v argument to find out what lists.
[email protected]:~# python -i -v

Link to dnsbls.tar.gz

 Posted by at 10:53 am

Sorry, the comment form is closed at this time.