|Subject:||Warning: "The program has attempted to call the method 'answerfrom' ..."|
I'm using Net::RBLClient in Courier::Filter::Module::DNSBL (see CPAN), I today I got the following error message (which has obviously been generated by Net::DNS): *** *** WARNING!!! The program has attempted to call the method *** "answerfrom" for the following RR object: *** *** 126.96.36.199.dnsbl.njabl.org.^I21600^IIN^ITXT^I"open proxy -- 1093916402" *** *** This object doesn't have a method "answerfrom". THIS IS A BUG *** IN THE CALLING SOFTWARE, which has incorrectly assumed that *** the object would be of a particular type. The calling *** software should check the type of each RR object before *** calling any of its methods. *** *** Net::DNS has returned undef to the caller. *** at /usr/share/perl5/Net/RBLClient.pm line 153 Use of uninitialized value in concatenation (.) or string at ^I/usr/share/perl5/Net/RBLClient.pm line 153 (#1) The IP address being checked was 188.8.131.52, and the DNS RBL obviously was dnsbl.njabl.org. I think Net::RBLClient is doing something wrong here, though I haven't investigated more closely what it is. This is the first time I have seen this error, and Courier::Filter::Module::DNSBL and Net::RBLClient otherwise work correctly.