Created attachment 144877 [details] Patch for AnotherDNS.pm AnotherDNS plugin is broken with modern Net::DNS. I've filed a bug upstream and sent a pull request but haven't heard back from Tobias yet. https://github.com/oetiker/SmokePing/pull/22 Attached diff fixes it for our users.
Hi Feld, you could assigned this directly I think.
Hard-coding the value this way works, but PACKETSZ is in fact a constant declared in Net::DNS::Resolver::Base and can be used that way : $ready->recv( $buf, Net::DNS::Resolver::Base::PACKETSZ); Can you try this option and give me a feedback asap ? Cheers.
Is Net::DNS::Resolver::Base::PACKETSZ part of the documented API? I haven't investigated; just checking. Wouldn't want to get us into the same situation down the road. I'll test ASAP.
Yes this appears to be working.
A commit references this bug: Author: rodrigo Date: Wed Jul 23 13:41:08 UTC 2014 New revision: 362694 URL: http://svnweb.freebsd.org/changeset/ports/362694 Log: Fix a minima the plugin breakage introduced by Net::DNS 0.75 and above. This bug is complex and must be fixed upstream (smokeping)[1]. [1] https://rt.cpan.org/Public/Bug/Display.html?id=96479 PR: ports/192037 Submitted by: feld Reviewed by: rodrigo (maintainer) Approved by: kwm (mentor) MFH: 2014Q3 Changes: head/net-mgmt/smokeping/Makefile head/net-mgmt/smokeping/files/patch-lib__Smokeping__probes__AnotherDNS.pm
commited with minor changes thanks