Search Exchange
Search All Sites
Login
check_dnsbl
Perl plugin that checks a specified DNS blacklist such as bl.spamcop.net to see whether a host is listed. Depends on Net::DNS.
Perl plugin that checks a specified DNS blacklist such as bl.spamcop.net to see whether a host is listed. Blacklists can be used to identify misbehaving servers, zombie PCs, and other machines worthy of a sysadmin's attention.
Depends on Net::DNS.
Usage:
>
> check_dnsbl -H host -B blacklist -T target -t timeout -v -v
> check_dnsbl --help
>
If you only care about a specific sub-list (see your blacklist's information page for these result addresses), you can specify it with the -T option.
For testing purposes, try 127.0.0.2 as the host:
>
> check_dnsbl -H 127.0.0.2 -B bl.spamcop.net -v -v
>
You might want to put this in {{checkcommands.cfg}}:
define command{
command_name check_sorbs
command_line $USER1$/check_dnsbl -H $HOSTADDRESS$ -B dnsbl.sorbs.net
}
define command{
command_name check_spamcop
command_line $USER1$/check_dnsbl -H $HOSTADDRESS$ -B bl.spamcop.net
}
Then in {{services.cfg}}, all you need is {{check_command check_sorbs}} or {{check_command check_spamcop}} in the right place.
Depends on Net::DNS.
Usage:
>
> check_dnsbl -H host -B blacklist -T target -t timeout -v -v
> check_dnsbl --help
>
If you only care about a specific sub-list (see your blacklist's information page for these result addresses), you can specify it with the -T option.
For testing purposes, try 127.0.0.2 as the host:
>
> check_dnsbl -H 127.0.0.2 -B bl.spamcop.net -v -v
>
You might want to put this in {{checkcommands.cfg}}:
define command{
command_name check_sorbs
command_line $USER1$/check_dnsbl -H $HOSTADDRESS$ -B dnsbl.sorbs.net
}
define command{
command_name check_spamcop
command_line $USER1$/check_dnsbl -H $HOSTADDRESS$ -B bl.spamcop.net
}
Then in {{services.cfg}}, all you need is {{check_command check_sorbs}} or {{check_command check_spamcop}} in the right place.
Reviews (0)
Be the first to review this listing!


New Listings


