Skip to content
/ dnsbl Public

DNSBL checker. Simple multi-threading tool for checking IP-addresses or CIDR-networks against known black-lists.

Notifications You must be signed in to change notification settings

ozamodaz/dnsbl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

DNSBL Checker

Simple multi-threading tool for checking IP-addresses
or CIDR-networks against known black-lists.

Performance:

120-160 IP-addresses per minute without significant server load

(checking each against 58 DNSBLs; max_workers = 60)

Used Lists :

The script is trying to fetch active DNSBLs from following resource:

http://www.dnsbl.info/dnsbl-list.php

You can specify additional / fallback set of DNSBLs in the top of script.

Usage

$ python dnsbl.py -i /path/to/hosts_file

$ python dnsbl.py -i 192.30.253.112 192.30.253.113

$ python dnsbl.py -i 192.30.253.0/24, 192.30.253.0/23 -o output.txt

Options

BASE_LISTS = [...]       ------->      additional / fallback DNSBLs list
max_workers = 60         ------->      max threads
verbose = False          ------->      logging
log_file = 'dnsbl.log'   ------->      log file

About

DNSBL checker. Simple multi-threading tool for checking IP-addresses or CIDR-networks against known black-lists.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages