
bugzilla-daemon at bugzilla
Nov 5, 2009, 9:04 AM
Post #2 of 2
(268 views)
Permalink
|
|
[Bug 6232] Net::DNS inconsistent in use of presentation/wire format in packets, breaks DnsResolver
[In reply to]
|
|
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6232 --- Comment #2 from Mark Martinec <Mark.Martinec [at] ijs> 2009-11-05 09:04:45 UTC --- Here is a quick and ugly fix, for the time being: --- lib/Mail/SpamAssassin/DnsResolver.pm (revision 833030) +++ lib/Mail/SpamAssassin/DnsResolver.pm (working copy) @@ -317,7 +317,7 @@ $self->connect_sock_if_reqd(); my $packet; eval { - $packet = Net::DNS::Packet->new($host, $type, $class); + $packet = Net::DNS::Packet->new(Net::DNS::stripdot($host), $type, $class); # a bit noisy, so commented by default... #dbg("dns: new DNS packet time=%s host=%s type=%s id=%s", Bug 6232, a quick workaround hack to Net::DNS inconsistency Sending lib/Mail/SpamAssassin/DnsResolver.pm Committed revision 833081. -- Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
|