Native PHP DNS Resolver and Updater
PHP
Clone or download
mikepultz - bugfix when returning an empty bitmap-type in BitMap.php - patch fr…
…om BugMaster510945.

- added the BIND 9 private record RR (TYPE65534) - patch from BugMaster510945.
- added DNSSEC algorithms 13-16 (ECDSAP256SHA256, ECDSAP384SHA384, ED25519, and ED448).
- added SSHFP algoritm ED25519.
- modified Net_DNS2::sendPacket() to use current()/next() rather than the deprecated each() (deprecated in 7.2).
Latest commit 9596a78 Feb 13, 2018

README.md

Net_DNS2 - Native PHP5 DNS Resolver and Updater

The main features for this package include:

  • Increased performance; most requests are 2-10x faster than Net_DNS
  • Near drop-in replacement for Net_DNS
  • Uses PHP5 style classes and exceptions
  • Support for IPv4 and IPv6, TCP and UDP sockets.
  • Includes a separate, more intuitive "Updater" class for handling dynamic update
  • Support zone signing using TSIG and SIG(0) for updates and zone transfers
  • Includes a local cache using shared memory or flat file to improve performance
  • includes many more RR's, including DNSSEC RR's.

Installing Net_DNS2

You can download it directly from PEAR: http://pear.php.net/package/Net_DNS2

pear install Net_DNS2

Or you can require it directly via Composer: https://packagist.org/packages/pear/net_dns2

composer require pear/net_dns2

Or download the source above.

Requirements

  • PHP 5.1.2+
  • The PHP INI setting mbstring.func_overload equals 0, 1, 4, or 5.

Using Net_DNS2

See the Net_DNS2 Website for more details - https://netdns2.com/