Skip to content
This repository has been archived by the owner on Apr 26, 2019. It is now read-only.

darko-poljak/blcheck

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 

Repository files navigation

blcheck

A powerfull script for testing a domain or an IP against mailing black lists. blcheck-host uses dig if it is found. If not then uses host, if found. This wariant works with e.g. FreeBSD base.

Features

  • More then 200 black lists already included!
  • Automatic distinction between domain or IP
  • Performs PTR validation (only if domain is supplied, does not work for IP)
  • The result of script is the number of servers which blacklisted the domain, so it can be used for any kind of autonomated scripts like cronjobs
  • 3 verbose (-v) levels and a quiet (-q) mode
  • Informative and pleasant output

Requirements

  • Any unix/linux with POSIX shell.

Usage

With root access

  1. Download the script to your /usr/bin folder
  2. Type chmod +x /usr/bin/blcheck
  3. Type blcheck <domain_or_ip>
  4. Wait for the answer, it might take some time

Without root access

  1. Download the script to your system
  2. Type chmod +x /path/to/blcheck
  3. Type /path/to/blcheck <domain_or_ip>
  4. Wait for the answer, it might take some time

Inapp help

Usage: blcheck [options] <domain_or_IP>

Supplied domain must be full quialifined domain name.
If the IP is supplied insead the PTR check cannot be executed and will be
skipped.

-v    Verbose mode, can be used multiple times (up to -vvv)
-q    Quiet mode with absolutely no output
-p    Plain text output (no coloring, no interactive status, no progress)
-h    The help you are just reading

Credits

Script has been written by the Intellex team. It is modified by Darko Poljak (https://github.com/darko-poljak).

About

Test a mail servers against black lists.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%