Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Libdns Laravel Package

daverandom/libdns

Pure-PHP DNS message library for building, parsing, and manipulating DNS packets. Create queries and responses, work with resource records, headers, questions, and sections, and encode/decode wire format for custom resolvers, servers, and network tools.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Enables building DNS-aware features (e.g., custom DNS resolvers, record validation, security checks) without relying on system-level DNS tools or shell commands, critical for containerized/serverless environments.
  • Reduces security risks by eliminating shell_exec dependencies, aligning with strict compliance requirements for applications handling sensitive DNS data.
  • Avoids "build vs buy" tradeoffs for DNS packet parsing/creation logic, as the package provides a mature, MIT-licensed solution with recent maintenance (2024 release), saving engineering resources.
  • Supports roadmap initiatives for infrastructure-agnostic DNS functionality (e.g., cross-platform DNS validation in SaaS tools or internal security scanners).

When to Consider This Package

  • Adopt when your application requires programmatic DNS packet manipulation (e.g., querying specific record types, custom DNS servers) in environments where system DNS tools are unavailable (AWS Lambda, Docker, restricted hosting) or security policies forbid shell calls.
  • Prioritize if you need full control over DNS request/response handling without OS dependencies (e.g., validating TXT records for DKIM/SPF in email systems).
  • Look elsewhere if: your use case only
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport
twbs/bootstrap4