Working with DNS via Python

Oleg Broytmann phd at
Wed Feb 14 11:58:29 EST 2001

On Wed, 14 Feb 2001, Voitenko, Denis wrote:
> Could someone point me to some functions or material that'd explain how to
> work with DNS functions (nslookup, etc) via Python?

   The first and most strightforward idea - just use os.popen and run
nslookup! :)

   Also there is dnslib - it is not in standard library, it is in Demo/dns
subdirectory in source distribution.

   Also there is adns (asynchronous dns lib in C); Andy Dustman wrote
python wrapper for it.

   (Russian? Why not to ask question on Russian Python list?)

     Oleg Broytmann              phd at
           Programmers don't die, they just GOSUB without RETURN.

More information about the Python-list mailing list