"Chris Angelico" <ros...@gmail.com> wrote:
There are a few Python DNS modules. It means adding another dependency, but perhaps not as large as twisted. And of course, you could always manually send UDP packets and listen for responses, but that seems a little unnecessary :)
Then there is pycares; "a Python module which provides an interface to c-ares.... c-ares is a C library that performs DNS requests and name resolves asynchronously.". I have good experience wih C-ares and it can set
specific nameservers. Ref: https://pypi.python.org/pypi/pycares/0.3.0 --gv -- https://mail.python.org/mailman/listinfo/python-list