|
SA Bugzilla – Full Text Bug Listing |
Summary: | Net::DNS 0.76 compatibility: available_nameservers: No DNS servers available! | ||
---|---|---|---|
Product: | Spamassassin | Reporter: | Mark Martinec <Mark.Martinec> |
Component: | Libraries | Assignee: | SpamAssassin Developer Mailing List <dev> |
Status: | RESOLVED FIXED | ||
Severity: | critical | CC: | kmcgrail |
Priority: | P2 | ||
Version: | 3.4.0 | ||
Target Milestone: | 3.4.1 | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: |
Description
Mark Martinec
2014-06-18 01:24:44 UTC
patch works for me with with 0.72 and 0.77 Jun 17 21:53:58.195 [15385] dbg: dns: servers obtained from Net::DNS : [127.0.0.1]:53, [38.100.17.53]:53, [68.100.16.30]:53, [68.10.16.30]:53 Jun 17 21:53:58.195 [15385] dbg: dns: nameservers set to 127.0.0.1, 38.100.17.53, 68.100.16.30, 68.10.16.30 Jun 17 21:53:58.196 [15385] dbg: dns: using socket module: IO::Socket::INET, forced IPv4 Jun 17 21:53:58.196 [15385] dbg: dns: is Net::DNS::Resolver available? yes Jun 17 21:53:58.196 [15385] dbg: dns: Net::DNS version: 0.72 & Jun 17 21:55:56.924 [15689] dbg: dns: servers obtained from Net::DNS : [127.0.0.1]:53, [38.100.17.53]:53, [68.100.16.30]:53, [68.10.16.30]:53 Jun 17 21:55:56.924 [15689] dbg: dns: nameservers set to 127.0.0.1, 38.100.17.53, 68.100.16.30, 68.10.16.30 Jun 17 21:55:56.924 [15689] dbg: dns: using socket module: IO::Socket::INET, forced IPv4 Jun 17 21:55:56.924 [15689] dbg: dns: is Net::DNS::Resolver available? yes Jun 17 21:55:56.924 [15689] dbg: dns: Net::DNS version: 0.77 Doing more tests, I think Net::DNS 0.76 is also causing this: t/dnsbl_subtests..................Use of uninitialized value in length at /usr/local/lib/perl5/site_perl/5.8.6/i686-linux/Net/DNS/Resolver/Base.pm line 318. Will let you know if it otherwise passes make test in a few. Other than the uninitialized error, we pass make test. Mark, if you can look at this, I'd appreciate it. > Other than the uninitialized error, we pass make test. > Mark, if you can look at this, I'd appreciate it. Done. Nothing that SpamAssassin can do about it. Ignore the warning or use a newer version of perl: https://rt.cpan.org/Public/Bug/Display.html?id=96535 Committed then, thanks Mark. svn commit -m 'Committing Marks Patch for the DNS Resolving to fix the issues with Net::DNS 0.76' Sending lib/Mail/SpamAssassin/DnsResolver.pm Transmitting file data . Committed revision 1603518. Will ask user to test as well. |