PHPackages                             daverandom/libdns - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. daverandom/libdns

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

daverandom/libdns
=================

DNS protocol implementation written in pure PHP

v2.1.0(2y ago)16339.1M—2.7%14[5 issues](https://github.com/DaveRandom/LibDNS/issues)[4 PRs](https://github.com/DaveRandom/LibDNS/pulls)9MITPHPPHP &gt;=7.1

Since Nov 25Pushed 2y ago6 watchersCompare

[ Source](https://github.com/DaveRandom/LibDNS)[ Packagist](https://packagist.org/packages/daverandom/libdns)[ RSS](/packages/daverandom-libdns/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)DependenciesVersions (17)Used By (9)

LibDNS
======

[](#libdns)

DNS protocol implementation in pure PHP

Status
------

[](#status)

This library is currently undergoing a ground-up rewrite. The old codebase has been archive to the 2.x branch. The current master is version 3, a completely new API which is simpler and should be easier to work with, as well as improving performance and extensibility. V3 also includes much more complete list of IANA-registered record types, classes and other elements.

The v3 API has now largely stabilised and work on migrating to the new API is encouraged as soon as possible. It is unlikely there will be any more releases from the 2.x branch.

A migration guide will be produced in line with the first RC, but the code in the `examples` directory can be used to infer most of the required changes.

###  Health Score

48

—

FairBetter than 95% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity66

Solid adoption and visibility

Community27

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 94.1% 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 ~252 days

Recently: every ~571 days

Total

16

Last Release

766d ago

Major Versions

v0.2.1 → v1.0.02015-02-18

v1.2.0-a1 → v2.0.0-a12017-05-22

PHP version history (3 changes)v0.2.0PHP &gt;=5.4.0

v1.1.0-a1PHP &gt;=7.0

2.x-devPHP &gt;=7.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/eb9d79bcd4c3c02b52daba8a5371a4d710286d9b7472c8d922008c48999d76b9?d=identicon)[DaveRandom](/maintainers/DaveRandom)

---

Top Contributors

[![DaveRandom](https://avatars.githubusercontent.com/u/2396425?v=4)](https://github.com/DaveRandom "DaveRandom (112 commits)")[![rdlowrey](https://avatars.githubusercontent.com/u/1259291?v=4)](https://github.com/rdlowrey "rdlowrey (3 commits)")[![trowski](https://avatars.githubusercontent.com/u/1628287?v=4)](https://github.com/trowski "trowski (2 commits)")[![jjok](https://avatars.githubusercontent.com/u/777648?v=4)](https://github.com/jjok "jjok (1 commits)")[![paresy](https://avatars.githubusercontent.com/u/260376?v=4)](https://github.com/paresy "paresy (1 commits)")

---

Tags

dns

### Embed Badge

![Health badge](/badges/daverandom-libdns/health.svg)

```
[![Health](https://phpackages.com/badges/daverandom-libdns/health.svg)](https://phpackages.com/packages/daverandom-libdns)
```

###  Alternatives

[spatie/dns

Retrieve DNS records

6082.3M17](/packages/spatie-dns)[orrison/cumulus

Import DNS records from Laravel Vapor into Cloudflare

3817.1k](/packages/orrison-cumulus)[mesour/dns-checker

DNS checker written in PHP for check and compare real DNS records for domain.

2024.6k](/packages/mesour-dns-checker)[astrotomic/laravel-dns

327.4k](/packages/astrotomic-laravel-dns)

PHPackages © 2026

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