dnslook 0.11, beta MJ Pomraning 20 Mar 2001 INTRO ===== dnslook is an adaptation of D. J. Bernstein's easy-to-use, high-level DNS lookup routines from the djbdns package. IP and name lookup (with qualification) functions offer an able alternative to the socket.gethostby* interface. Further, MX/NS/TXT lookups are supported, as well as IP address packing (for communication with programs that expect struct in_addr), making dnslook well-suited to commonly scripted DNS tasks. See http://cr.yp.to/djbdns/dns.html for details on the underlying library. COPYRIGHT ========= The included djbdns-1.05 library is copyright D. J. Bernstein. See the README.djbdns, sources, and cr.yp.to distribution site for details. Brian J. Kifiak's dnsns patch is in the public domain. Everything else is copyright 2001 Michael J. Pomraning. INSTALL ======= Tested with python-1.5.2 and 2.1b2, Distutils-1.0.1. $ tar zxf dnslook-$VERSION.tgz $ cd dnslook-$VERSION $ python setup.py build $ python setup.py install $ python -c 'import dnslook; print dnslook.__doc__' Compiles, installs and works for me. How about you? CAVEATS ======= - Not 'threadable' - Not full-fledged async djbdns resolver though I have an idea about that, too BUGS ==== Report bugs, typos, misfeatures to MJ Pomraning . TODO ==== - FvL's IPv6 patch ip6() already works in devel. version ip6_qualify needed? - dnslook.qualify() ? qualify(udn) -> [fqdn1, fqdn2 ...] - better docs - superfluous str_z implicit PyStr anyway - strip/suppress debugging symbols accident of distutils + Python Makefile?