DNSBL - Spam IP address checker
=================================================
2011-06-26
Update.
Added new feature - group checking. It means that checking for 'all' key will be processed by checkers that available
for group checking only.
So if you issue "CheckSpamIP($ip, 'all')" then this ip will be checked not in all available checkers but in group available ones only.
There are 2 group available checkers by default: 'spamhaus' & 'spamcop'.
You can enable and disable group checking for any checker.
New public methods added for group checking control:
'GetGroupCheckers', 'EnableGroupChecking', 'DisableGroupChecking'.
example.php shows all changes well.
2011-06-14
Update.
Fixed incorrect DNS-server answers, as described at
http://www.spamhaus.org/faq/answers.lasso?section=DNSBL%20Usage#243
1. Function 'dns_get_record' is used instead of 'checkdnsrr'.
2. New private method '_CheckDNSAnswer' is added, it checks DNS answers for IP 127.0.0.* existing.
-----------------------------------
Alexey Znayev, 2011, znaeff@mail.ru, http://xbsoft.org, http://xbsoft.ru
|