I’ve released version 1.3.1 of the PEAR Net_DNS2 library- you can install it now through the command line PEAR installer:
pear install Net_DNS2
Or, you can also add it to your project using composer.
- added the Net_DNS2_Packet_Request and Net_DNS2_Packet_Response objects to the Net_DNS2_Exception object
- added support in the TSIG class for SHA algorithms (requires the hash extension, which is included in PHP >= 5.1.2), patch provided by Manuel Mausz
- added support for the NID, L32, L64, and LP DNS RR’s (RFC6742)
- lots of phpcs cleanup