DNS toolkit for Python 3


dnspython is a DNS toolkit for Python. It supports almost all record types. It can be used for queries, zone transfers, and dynamic updates. It supports TSIG authenticated messages and EDNS0.

With recommended additional dependencies installed it also support DNS Over HTTPS (DOH), DNSSEC, and non-ascii (IDNA) DNS operations. It can support asynchronous if python3-trio is installed, but this is not the default. DNS Over QUIC (DOQ) is supported if python3-aioquic is installed, also not the default.

dnspython provides both high and low level access to 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.

This is the Python 3 version.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install python3-dnspython