About dnspython

Dnspython is a DNS toolkit for Python. It can be used for queries, zone transfers, dynamic updates, nameserver testing, and many other things.

Dnspython provides both high and low level access to the DNS. The high level classes perform queries for data of a given name, type, and class, and return an answer set. The low level classes allow direct manipulation of DNS zones, messages, names, and records. Almost all RR types are supported.

Python 2.x support ended with the release of 1.16.0. dnspython 2.0.0 and later only support Python 3.6 and later.

dnspython originated at Nominum where it was developed for testing DNS nameservers.

The legacy dnspython web site contains the documentation for version 1.