FICHA · MANJARO

python-dnslib

Simple library to encode/decode DNS wire-format packets

  • Library
  • Dev
  • NETWORK
  • Dependency only
official+codex · reviewed · May 28, 2026 description in en

Description

Encode and decode DNS packets in their wire-format representation from Python code. It helps networking tools inspect, build, test, or simulate DNS messages at a low level.

This is a protocol library, not a DNS resolver service by itself. DNS traffic can affect privacy and name resolution, so tools should avoid leaking queries and should validate packets from untrusted networks.

Permissions

Permissions not analysed for this source yet.