ANN: Constrict 0.1.0 DNS message parsing library

Jason Smith jhs at
Wed Feb 9 06:48:25 CET 2005

This message is to announce a new Python module, Constrict, which is
useful for examining DNS messages that you receive either from a network
capture or from a socket.  While other DNS-related Python projects
exist, none provide flexible message parsing and inspection.

Constrict is BIND for Python: it is a Python library for parsing DNS
messages using ISC's libbind. Constrict allows you to see DNS messages
in two ways:

      * Direct access to the libbind parsing functions
      * A Python object with various meaningful attributes

This software is available under the GNU General Public License, version

This is the initial release.  Constrict evolved from an internal project
development, so it has already seen much real-world testing.  The
wrapper to the BIND C API is thorough enough for most development, and
the object-oriented view is quite intuitive for day-to-day queries and

Constrict is known to work with Python 2.3 and BIND 9 on Linux/i386 and

Jason Smith
Open Enterprise Systems
Bangkok, Thailand

More information about the Python-announce-list mailing list