daverandom/libdns

DNS protocol implementation written in pure PHP

Installs: 11 446 365

Dependents: 12

Suggesters: 1

Security: 0

Stars: 127

Watchers: 7

Forks: 13

Open Issues: 8

v2.1.0 2024-04-12 12:12 UTC

This package is auto-updated.

Last update: 2024-10-13 18:00:27 UTC


README

DNS protocol implementation in pure PHP

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.