DNS caching in python2.2

Anthony Baxter anthonybaxter at gmail.com
Sun Nov 7 10:41:41 EST 2004


On Mon, 1 Nov 2004 07:43:54 -0800, Grimm, Garth <garth.grimm at hp.com> wrote:
> Cached in the resolver library in python 2.2 (running on Windows2000).
> Thought I'd toss the question to the list, to see what kind of quick
> answer(s) I got.

Python doesn't have it's own DNS code - it uses the operation system's
libresolv/libc/whereever-it-lives-on-your-platform to do this. 

If you really want to do DNS yourself, there's a number of implementations
of DNS client code available for Python - google is your friend.



More information about the Python-list mailing list