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.