NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #2003 most downloaded on Packagist
PHP DNS Resolver and Updater Library
Latest stable
v2.0.8
Last release 8 months ago
27 Feb 2026
Ships unpredictably
gaps range from 2 weeks to 2.7 years
Most releases are documented
notes for 16 of 24 stable releases
Nothing withdrawn
no release was ever pulled
13 years old
25 releases · first in 2013
Drag across the ruler to compare, or tap a release to open it.
IMPORTANT: The composer package has moved from pear/net_dns2 -> mikepultz/netdns2
IMPORTANT: The composer package has moved from pear/net_dns2 -> mikepultz/netdns2
Your coding agent can read these notes before it upgrades. Set up the MCP server →
changed the hashing algorithm used for cache storage from sha256 -> xxh128; the xxHash algorithms are faster
dropped the use of curl_close(); it's deprecated as of PHP 8.5.
bugfix: fixed #169 - the Client.php was comparing the $qtype value to "AXFR" but should have been using the new ENUM value
fixed the phpdoc for the $_options passed to the Resolver, Notifier, & Updater constructors; the array format was incorrect.
fixed the phpdoc for the $_options passed to the Resolver, Notifier, & Updater constructors; the array format was incorrect.
fixed the blocking logic in Socket::read(); there were a couple reports of failures here that could only happen in a specific case where only one initial byte of data is returned on TCP connections.
fixed #167 - the Mailbox object (used on SOA, RP) RR's didn't support a value without a "." in it (aka an @). While according to RFC1035, this value should be an email address, it seems like DNS servers don't enforce this, so you can add a single value in like "root" and it's accepted.
fixed #168 - the SHA1 DNSSEC Digest algorithm was configured as id 0, but should be 1.
fixed #162; the type() was missing when creating a Data\Mailbox type in RR::__set().
Added support for Internationalized Domain Names (IDN)
bugfix: \NetDNS2\RR\PTR::ptrdname was set to private instead of protected #157
IMPORTANT: this release is not backwards compatible with v1.x - see the README for more details on upgrading.
IMPORTANT: this release is not backwards compatible with v1.x - see the README for more details on upgrading.
IMPORTANT: this release is not backwards compatible with v1.x - see the README for more details on upgrading.
IMPORTANT: this release is not backwards compatible with v1.x - see the README for more details on upgrading.
This is an initial release candidate for testing purposes, and should not be used in production environments.
fixed the PHP 8.4 deprecation notices - #154.
fixed a bug in Names::unpack() in v1.5.3 with multi-line TXT records that might happen to have a trailing period before the line break.
PHP 8.0 issue: shmop_close() is deprecated in PHP 8.
fixed a mistake in the autoload section of the composer.json file.
Nothing published for this version
added the AMTRELAY resource record type (RFC 8777).
modified Net_DNS2::sendPacket() to use current()/next() rather than the deprecated each() (deprecated in 7.2).
fixed an issue when looking up . or com., when using the strict_query_mode flag.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.