| CARVIEW |
dnspython |
A DNS toolkit for Python |
|---|---|
|
Downloads Documentation Mailing lists Source Code The Subversion revision control system is used for dnspython development. Repository: https://www.dnspython.org/svn/dnspython/head Similar software |
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. 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. To see a few of the ways dnspython can be used, visit the Examples page. dnspython originated at Nominum where it was developed to facilitate the testing of DNS software. Nominum has generously allowed it to be open sourced under a BSD-style license, and helps support its future development by continuing to employ the author :). The stable version of dnspython is 1.5.0, released on December 10, 2006. Answer objects now support more of the python sequence rotocol, forwarding the requests to the answer rrset. E.g. "for a in answer" is equivalent to "for a in answer.rrset", "answer[i]" is equivalent to "answer.rrset[i]", and "answer[i:j]" is equivalent to "answer.rrset[i:j]". Making requests using EDNS, including indicating DNSSEC awareness, is now easier. For example, you can now say:
q = dns.message.make_query('www.dnspython.org', 'MX', want_dnssec=True)
dns.query.xfr() can now be used for IXFR., Support has been added for the DHCID, IPSECKEY, and SPF RR types. UDP messages from unexpected sources can now be ignored by setting ignore_unexpected to True when calling dns.query.udp. All known bugs from 1.4.0 are fixed in this release. See the ChangeLog file for more detailed information on changes since the prior release. |
Contact webmaster@dnspython.org if you have questions or comments about this site.
![[ Visit Nominum ]](/web/20070624045556im_/https://www.dnspython.org/nominum.jpg)