SkillAgentSearch skills...

LibDNSJson

Encoder/decoder for google's JSON DNS message format based on libdns

Install / Use

/learn @danog/LibDNSJson
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

LibDNSJson

Build Status License

Encoder/decoder for google's JSON DNS message format based on libdns.

The API consists of a QueryEncoderFactory that creates QueryEncoder objects, that can encode libdns Message objects to a query string that can be used both with google's and cloudflare's DNS-over-HTTPS APIs (for cloudflare, using directly UDP wireformat with libdns's Encoder is recommended).

The JsonDecoderFactory creates JsonDecoder objects, that accept JSON strings and decode them back to Message objects.

Installation

composer require danog/libdns-json
View on GitHub
GitHub Stars7
CategoryDevelopment
Updated8mo ago
Forks0

Languages

PHP

Security Score

82/100

Audited on Jul 13, 2025

No findings