Second release candidate for Net::DNS 1.06

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

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 now issues arise, the actual release will follow Friday the 27th of May.

sha1 5d8533d408ecf8135111132bbf82959190f25ee9

Regression testing results:

Comments are closed.