PHPackages                             jtet/phpdns - 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. jtet/phpdns

ActiveLibrary[HTTP &amp; Networking](/categories/http)

jtet/phpdns
===========

PHP DNS Direct Query Module

00PHP

Since Dec 29Pushed 3y agoCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

phpdns
======

[](#phpdns)

DNS API / Library for PHP - [www.purplepixie.org/phpdns/](http://www.purplepixie.org/phpdns/)

Changelog
---------

[](#changelog)

```
Version 2.0.5 29th August 2016

David Cutting -- dcutting (some_sort_of_at_sign) purplepixie dot org

D Tucny - 2011-06-21 - Add lots more types with RFC references
D Tucny - 2011-06-21 - Add decoding of IPv6 addresses in AAAA RRs and sorted handling alphabetically
D Tucny - 2011-06-21 - Switch to using inet_ntop function where available to decode IP addresses
                       and include binary IP in extras
D Tucny - 2011-06-21 - Add fallback inet_ntop function (sourced from php.net) for
                       platforms missing it
D Tucny - 2011-06-21 - Correct string extraction for TXT records
                       (a TXT record can contain one of more 255 character strings
                       with an initial length byte that are concatenated togeter)
                       the length bytes were being included in the result as part of the text
D Tucny - 2011-06-21 - Add decoding of SPF as an alias of TXT due to identical formatting
D Tucny - 2011-06-21 - Make binarydebug a parameter of DNSQuery in addition to plain debug
D Tucny - 2011-06-21 - Add header flag parsing
D Tucny - 2011-06-21 - Add error handling for truncation flag being set when using UDP, i.e response too large
D Tucny - 2011-06-21 - Add decoding of SRV RRs
D Tucny - 2011-06-22 - Add initial decoding of DNSKEY RRs

D Cutting - 2012-06-22 - Added special case "." query for root-servers
D Cutting - 2012-06-22 - Fixed . positioning bug in 0.04

Remi Smith - 2013-05-23 - Alternative AAAA IPV6 Patching for 0.02 (included into general build - DC)
D Cutting - 2013-08-04 - Implemented bugfix for Serial and TTL provided by Kim Akero
D Cutting - 2014-02-21 - Implemented DNSKEY type recovery from data packet
D Cutting - 2014-11-19 - Fixed fsockopen bug (BID396) thanks to semperfi on forum
D Cutting - 2014-12-30 - Added stream timeout function (thanks to Jorgen Thomsen) [1.04]
                         Also corrected some indentation, added comment and updated copyright
D Cutting - 2014-12-30 - Corrected error typo (thanks to Jorgen Thomsen) [1.05]

Bert-Jan de Lange - 2016-01-13 - Convert to PHP5, PSR-0, composer|2.0-dev

D Cutting - 2016-01-16 - Integrated NSEC Support from zatr0z (https://github.com/xatr0z)
                         https://github.com/purplepixie/phpdns/pull/1
D Cutting - 2016-01-16 - Integrated NAPTR Support from Yurji (https://github.com/Yurij)
                         https://github.com/purplepixie/phpdns/pull/4
D Cutting - 2016-01-16 - Updated copyright etc to PHP4 final release 1.06

D Cutting - 2016-01-16 - Merged in changes from bjdelange (2016-01-13) and resolved conflicts for 1.10
                         https://github.com/purplepixie/phpdns/pull/5
                         by https://github.com/bjdelange
D Cutting - 2016-01-17 - Merged updated changes by Bert-Jan de Lange without composer, added legacy files - 1.11

D Cutting - 2016-01-17 - 2.0.4 release

D Cutting - 2016-08-29 - 2.0.5 release: merged changes by Derekholio via github (pull request 7)

```

###  Health Score

14

—

LowBetter than 2% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity23

Early-stage or recently created project

 Bus Factor1

Top contributor holds 53.3% 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.

### Community

Maintainers

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

---

Top Contributors

[![purplepixie](https://avatars.githubusercontent.com/u/1479871?v=4)](https://github.com/purplepixie "purplepixie (24 commits)")[![roy-bongers](https://avatars.githubusercontent.com/u/10220797?v=4)](https://github.com/roy-bongers "roy-bongers (7 commits)")[![bjdelange](https://avatars.githubusercontent.com/u/2757512?v=4)](https://github.com/bjdelange "bjdelange (6 commits)")[![YurijTar](https://avatars.githubusercontent.com/u/47503229?v=4)](https://github.com/YurijTar "YurijTar (3 commits)")[![Derekholio](https://avatars.githubusercontent.com/u/6242524?v=4)](https://github.com/Derekholio "Derekholio (2 commits)")[![fbett](https://avatars.githubusercontent.com/u/24937658?v=4)](https://github.com/fbett "fbett (1 commits)")[![xatr0z](https://avatars.githubusercontent.com/u/1092510?v=4)](https://github.com/xatr0z "xatr0z (1 commits)")[![Yurij](https://avatars.githubusercontent.com/u/11015706?v=4)](https://github.com/Yurij "Yurij (1 commits)")

### Embed Badge

![Health badge](/badges/jtet-phpdns/health.svg)

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

###  Alternatives

[friendsofsymfony/rest-bundle

This Bundle provides various tools to rapidly develop RESTful API's with Symfony

2.8k73.3M319](/packages/friendsofsymfony-rest-bundle)[php-http/discovery

Finds and installs PSR-7, PSR-17, PSR-18 and HTTPlug implementations

1.3k309.5M1.2k](/packages/php-http-discovery)[nyholm/psr7

A fast PHP7 implementation of PSR-7

1.3k235.4M2.4k](/packages/nyholm-psr7)[pusher/pusher-php-server

Library for interacting with the Pusher REST API

1.5k94.8M293](/packages/pusher-pusher-php-server)[spatie/crawler

Crawl all internal links found on a website

2.8k16.3M52](/packages/spatie-crawler)[react/http

Event-driven, streaming HTTP client and server implementation for ReactPHP

78126.4M414](/packages/react-http)

PHPackages © 2026

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