[ANNOUNCEMENT] Net_DNS2-1.4.0 (stable) Released.
[email protected] ("PEAR Announce") Mon, 15 Dec 2014 05:19:24 +0000 (GMT)
| Newsgroups | php.pear.general |
|---|---|
| Message-ID | <[email protected]> |
The new PEAR package Net_DNS2-1.4.0 (stable) has been released at http://pear.php.net/.
Release notes
-------------
- added request signing support using RSA 256 and 512 (request PHP 5.4.8 or up)
- changed the Net_DNS2::nameservers value (the list of name server) to public so they can be accessed diretly if needed.
- added support for the CDNSKEY and OPENPGPKEY RR types
- completely re-wrote the sendPacket() function; the old process would throw an exception when the first error was encountered, which meant it never checked the next DNS server. The new code will cycle to the next name server if the request fails, and at the same time keep track of the exception generated by each name server separately.
- added a new E_NS_SOCKET_FAILED error code.
- fixed a bug in the Net_DNS2_Exception class; the 'previous' argument was only added in PHP 5.3.0
- fixed Net_DNS2_Packet_Request::set so we can pass '.' in as name value for querying the root name severs
- fixed Net_DNS2::setServers() so it overrides any existing values, rather than just adding to them. Also made it remove any duplicate nameserver entries.
- added the query response_time to the Net_DNS2_Packet_Response object.
Package Info
------------
Provides (roughly) the same functionality as Net_DNS, but using PHP5 objects, exceptions for error handling, better sockets support.
This release is (in most cases) 2x - 10x faster than Net_DNS, as well as includes more RR's (including DNSSEC RR's), and improved sockets and streams support.
Related Links
-------------
Package home: http://pear.php.net/package/Net_DNS2
Changelog: http://pear.php.net/package/Net_DNS2/download/1.4.0
Download: http://download.pear.php.net/package/Net_DNS2-1.4.0.tgz
Authors
-------
Mike Pultz <[email protected]> (lead)