PHPackages                             inbox/net\_dns2 - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. inbox/net\_dns2

Abandoned → [pear/net\_dns2](/?search=pear%2Fnet_dns2)Library[HTTP &amp; Networking](/categories/http)

inbox/net\_dns2
===============

Native PHP DNS Resolver and Updater Library

v1.5.5(3y ago)06BSD-2-ClausePHPPHP &gt;=5.4

Since May 28Pushed 3y agoCompare

[ Source](https://github.com/jmalinens/netdns2)[ Packagist](https://packagist.org/packages/inbox/net_dns2)[ Docs](https://netdns2.com/)[ RSS](/packages/inbox-net-dns2/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (1)Versions (19)Used By (0)

Net\_DNS2 - Native PHP DNS Resolver and Updater
===============================================

[](#net_dns2---native-php-dns-resolver-and-updater)

### The main features for this package include:

[](#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 modern PHP 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
--------------------

[](#installing-net_dns2)

You can download it directly from PEAR: [http://pear.php.net/package/Net\_DNS2](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](https://packagist.org/packages/pear/net_dns2)

```
composer require pear/net_dns2

```

Or download the source above.

Requirements
------------

[](#requirements)

- PHP 5.4+
- The PHP INI setting `mbstring.func_overload` equals 0, 1, 4, or 5.

Using Net\_DNS2
---------------

[](#using-net_dns2)

See the Net\_DNS2 Website for more details -

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 82.5% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~237 days

Recently: every ~158 days

Total

15

Last Release

1410d ago

PHP version history (2 changes)1.2.5PHP &gt;=5.1.2

v1.5.0PHP &gt;=5.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/27d181e94772bccefd4043cbedf2b8a5c1e5429f316ae6868cee0aee073608a1?d=identicon)[juris.malinens](/maintainers/juris.malinens)

---

Top Contributors

[![mikepultz](https://avatars.githubusercontent.com/u/4993169?v=4)](https://github.com/mikepultz "mikepultz (47 commits)")[![jmalinens](https://avatars.githubusercontent.com/u/569039?v=4)](https://github.com/jmalinens "jmalinens (3 commits)")[![hunbalazs](https://avatars.githubusercontent.com/u/1272471?v=4)](https://github.com/hunbalazs "hunbalazs (2 commits)")[![bishopb](https://avatars.githubusercontent.com/u/6844145?v=4)](https://github.com/bishopb "bishopb (2 commits)")[![InboxViktorV](https://avatars.githubusercontent.com/u/71443952?v=4)](https://github.com/InboxViktorV "InboxViktorV (1 commits)")[![gbxyz](https://avatars.githubusercontent.com/u/665401?v=4)](https://github.com/gbxyz "gbxyz (1 commits)")[![pstast](https://avatars.githubusercontent.com/u/5357442?v=4)](https://github.com/pstast "pstast (1 commits)")

---

Tags

dnsnetworkPEAR

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/inbox-net-dns2/health.svg)

```
[![Health](https://phpackages.com/badges/inbox-net-dns2/health.svg)](https://phpackages.com/packages/inbox-net-dns2)
```

###  Alternatives

[pear/net_url2

Class for parsing and handling URL. Provides parsing of URLs into their constituent parts (scheme, host, path etc.), URL generation, and resolving of relative URLs.

4912.2M32](/packages/pear-net-url2)[pear/http_request2

Provides an easy way to perform HTTP requests.

764.2M48](/packages/pear-http-request2)[mikepultz/netdns2

PHP DNS Resolver and Updater Library

1292.1k5](/packages/mikepultz-netdns2)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
