0
0
mirror of https://github.com/python/cpython.git synced 2024-12-01 03:01:36 +01:00
cpython/Demo/dns
..
asgethost.py
dnsclass.py
dnslib.py
dnsopcode.py
dnstype.py
README

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

    http://alumni.dgs.monash.edu.au/~anthony/python/

--Guido van Rossum, CWI, Amsterdam <Guido.van.Rossum@cwi.nl>
URL:  <http://www.cwi.nl/cwi/people/Guido.van.Rossum.html>