The script checks the specified IPs against Spamhaus DNSBL DB via standard DNS protocol and sends alert to the specified addresses in case any of the IPs have been blacklisted.