[svn:qpsmtpd] r561 - in trunk/lib/Danga: . DNS

2005-11-11 Thread msergeant
Author: msergeant Date: Fri Nov 11 06:28:47 2005 New Revision: 561 Modified: trunk/lib/Danga/DNS.pm trunk/lib/Danga/DNS/Resolver.pm Log: Allow any type of query Refactor some repeated code Modified: trunk/lib/Danga/DNS.pm

[svn:qpsmtpd] r562 - trunk/plugins

2005-11-11 Thread msergeant
Author: msergeant Date: Fri Nov 11 06:29:45 2005 New Revision: 562 Modified: trunk/plugins/dnsbl Log: Fix for ignoring multiple dns returns Modified: trunk/plugins/dnsbl == --- trunk/plugins/dnsbl (original) +++

Re: multi-valued dns lookups in lib/Danga/DNS?

2005-11-11 Thread Matt Sergeant
On 11 Nov 2005, at 09:24, Matt Sergeant wrote: On 10 Nov 2005, at 18:55, Brian Grossman wrote: I think so. Net::DNS::Resolver::send() returns either a Packet object or undef, so it seems reasonable to assume there will be only one packet even when using the asyncronous interface (bgsend).

Re: multi-valued dns lookups in lib/Danga/DNS?

2005-11-11 Thread Brian Grossman
On Fri, 11 Nov 2005 11:31:45 -0500 Matt Sergeant [EMAIL PROTECTED] wrote: A plugin can emit several unrelated queries before calling for a CONTINUATION (mine does), so I think changing the Danga::DNS callback API will be necessary. Actually I don't think it's that hard. Patch coming.

Re: multi-valued dns lookups in lib/Danga/DNS?

2005-11-11 Thread Matt Sergeant
On 11 Nov 2005, at 16:09, Brian Grossman wrote: A plugin can emit several unrelated queries before calling for a CONTINUATION (mine does), so I think changing the Danga::DNS callback API will be necessary. Actually I don't think it's that hard. Patch coming. Does that work for you?