> 
> Net::DNS has had some very good but rather weakly-controlled improvement
> recently, including an API change that got rolled back, so the latest
> (1.06) is probably the best choice (it's what I use.) However, all
> recent versions cause a problem with the released version of SA. The
> patch for that is minor:
> 
> https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7223
> https://svn.apache.org/viewvc?view=revision&revision=1691992
> 
> --- lib/Mail/SpamAssassin/DnsResolver.pm.orig    2015/07/20 18:23:18   
> 1691991
> +++ lib/Mail/SpamAssassin/DnsResolver.pm    2015/07/20 18:24:48    1691992
> @@ -592,6 +592,9 @@
>    };
> 
>    if ($packet) {
> +    # RD flag needs to be set explicitly since Net::DNS 1.01, Bug 7223   
> +    $packet->header->rd(1);
> +
>    # my $udp_payload_size = $self->{res}->udppacketsize;
>      my $udp_payload_size = $self->{conf}->{dns_options}->{edns};
>      if ($udp_payload_size && $udp_payload_size > 512) {


Okay, thanks for the info! -- Mike

Reply via email to