1. Armin Rigo
  2. cpython-withatomic


cpython-withatomic / Demo / dns /

The branch 'legacy-trunk' 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 dnslib.py -/" 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 <Guido.van.Rossum@cwi.nl>
URL:  <http://www.cwi.nl/cwi/people/Guido.van.Rossum.html>