[net-dns-users] Second release candidate for Net::DNS 1.06

Willem Toorop willem at nlnetlabs.nl
Fri May 20 12:08:34 UTC 2016


Dear all,

We have a second candidate for the upcoming 1.06 bugfix release of
Net::DNS. A list of bugfixes can be found in the Changes section below.

This release candidate includes changes resulting from discussion and
comments from the mailing list on error handling with zone transfers.
Resulting in:

* axfr() in list context returns the complete zone if successful.
  If an error occurs, an empty list is returned with errorstring()
  indicating the reason.

* axfr() in scalar context returns an iterator if successful.
  If a connection failure occurs, undef is returned with errorstring()
  indicating the reason. The iterator will raise an exception if the
  transfer can not be completed.

* Resolver documentation has been clarified to make explicit that
  errorstring() is valid immediately after an error and meaningless
  otherwise.

In the process of reducing code complexity and improving code coverage
of the unit tests, the value of errorstring() is with this release
candidate *meaningless* when not consulted directly after failure,
similar to the predefined perl variable $! (see perlvar). Testing
successful zone transfer by testing errorstring() for a value that it
was known to have before the transfer, will no longer work.

Please review this candidate carefully. In particular with respect to
error handling. If no issues arise, the actual release will follow
Friday the 27th of May.


link: https://www.net-dns.org/download/Net-DNS-1.05_06.tar.gz
sha1: 5d8533d408ecf8135111132bbf82959190f25ee9
asc : https://www.net-dns.org/download/Net-DNS-1.05_06.tar.gz.asc

Regression testing results: https://www.net-dns.org/regression/.


Changes
=======
Fix rt.cpan.org #113579

        Net::DNS::Resolver dies on scoped IPv6 nameserver address

Fix rt.cpan.org #113020

        Resolve::Recurse Hangs

Fix rt.cpan.org #112860

        improperly terminated AXFR at t/08-IPv4.t line 446.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.nlnetlabs.nl/pipermail/net-dns-users/attachments/20160520/8548a4ea/attachment.bin>


More information about the net-dns-users mailing list