On 7/26/2014 11:54 AM, Noel Butler wrote:

On 26/07/2014 03:26, Kevin A. McGrail wrote:

On 7/24/2014 9:42 PM, Noel Butler wrote:
Hi, Is there a way to get the return code in the generated reports? eg: uridnssub ALT_URI bl.foo A 127.0.0.2-127.0.0.11 body ALT_URI eval:check_uridnsbl('ALT_URI') describe ALT_URI URL's domain A record listed in bl.foo ($RETRUN_CODE) score ALT_URI 3.0 tflags ALT_URI net a so if the check matched on 127.0.0.6, desc would be describe ALT_URI URL's domain A record listed in bl.foo (127.0.0.6) Thanks for any pointers
Nothing currently in the code Looks like you would have to modify URIDNSBL.pm 
to add that info in the sub got_dnsbl_hit to add to the test_log data

>From looking, $str contains the return data so likely need to look through 
$uris and add $str to this line:

     $pms->test_log ("URIs: $uris");

Let us know if it works and perhaps it's worth adding to the codebase.

Regards,
KAM


Works a treat!

Thanks, does exactly what we need.

OK, I'm assuming this is not necessary / suitable for the public at large and you'll patch your own installs as needed.

Regards,
KAM

Reply via email to