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.
- 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
- Any unix/linux with POSIX shell.
- Download the script to your /usr/bin folder
- Type
chmod +x /usr/bin/blcheck
- Type
blcheck <domain_or_ip>
- Wait for the answer, it might take some time
- Download the script to your system
- Type
chmod +x /path/to/blcheck
- Type
/path/to/blcheck <domain_or_ip>
- Wait for the answer, it might take some time
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
Script has been written by the Intellex team. It is modified by Darko Poljak (https://github.com/darko-poljak).