cpython-withatomic / Demo / dns /

The branch '2.1' does not exist.
Filename Size Date modified Message
640 B
848 B
491 B
14.9 KB
330 B
1.2 KB
This directory contains a module (dnslib) that implements a DNS
(Domain Name Server) client, plus additional modules that define some
symbolic constants used by DNS (dnstype, dnsclass, dnsopcode).

Type "python -/" for a usage message.

You can also import dnslib and write your own, more sophisticated
client code; use the test program as an example (there is currently no
documentation :-).

Anthony Baxter maintains an enhanced version of this code at

--Guido van Rossum, CWI, Amsterdam <>
URL:  <>