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.
WHAT IT IS & HOW IT SHOULD BE USED:
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.
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.
Will tell you if you are on any of the lists that DNSBLS checks against.
Outputs 1 if you are on a list that DNSBLS checks against, and 0 if you aren’t
Outputs the lists you are on.
Outputs every list that DNSBLS checks against, and tells you if you are on any of them.
Outputs every list that DNSBLS checks
TIP: -i also resolves hostnames
You are on one of my lists! - Use -v argument to find out what lists.
[email protected]:~# python dnsbls.py -i 184.108.40.206 -v