{"categories":[{"label":"Name Service (DNS)","url":"https://skillfed.io/packages/category/internet-name-service-dns"}],"enrichment":{"capability":"Encodes and decodes DNS wire-format packets, supporting creation of DNS requests and responses, and parsing of zone file and DiG formats.","skillfed_tags":["dns","networking","packet-parsing"],"use_cases":["Parse and inspect DNS packets captured from network traffic or test data for debugging and analysis.","Build custom DNS resolvers or mock DNS servers for testing applications that depend on DNS lookups.","Convert between DNS wire format and human-readable zone file or DiG format for inspection and manipulation.","Create DNS request and response packets programmatically for DNS client implementations or testing tools.","Implement DNS proxying or interception utilities for network monitoring or traffic redirection."],"what_it_does":"dnslib is a pure-Python library for encoding and decoding DNS packets in wire format. It provides classes to represent DNS records, questions, and complete DNS packets, and can convert between wire format, Python objects, and textual representations (zone file and DiG formats). The library includes a server framework for building custom DNS resolvers and utilities for testing and proxying DNS traffic.\n\nThe package is in maintenance mode: the maintainer has decided to keep the existing API stable rather than pursue active development or modernization. It handles DNS packet parsing robustly (tested via fuzzing) and supports most standard DNS record types and operations defined in RFC1035. No runtime dependencies are required beyond Python itself.","worth_installing":"Yes, if you need DNS packet encoding/decoding without external dependencies. The library is stable, permissively licensed, and has no known vulnerabilities. However, be aware it is in maintenance mode\u2014no new features or API modernization are planned. It is suitable for production use in DNS tooling, testing, and custom resolver work, but do not expect active development or rapid responses to feature requests."},"id":"dnslib","links":{"html":"https://skillfed.io/packages/dnslib","md":"https://skillfed.io/packages/dnslib.md","pypi":"https://pypi.org/project/dnslib/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2025-03-03","license_spdx":null,"license_treatment":"permissive","name":"dnslib","python_support":"unspecified","summary":"Simple library to encode/decode DNS wire-format packets"},"popularity":{"monthly_downloads":1496054,"position":3837,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.9.26"}
