Working with DNS via Python

Voitenko, Denis dvoitenko at qode.com
Wed Feb 14 11:51:18 EST 2001


Could someone point me to some functions or material that'd explain how to
work with DNS functions (nslookup, etc) via Python?

I'd be interested in sumulating something like this:

Default Server:  localhost
Address:  127.0.0.1

> set q=mx
> sony.com
Server:  localhost
Address:  127.0.0.1

Non-authoritative answer:
sony.com        preference = 10, mail exchanger = mail5.fw-bc.sony.com
sony.com        preference = 10, mail exchanger = mail4.fw-sj.sony.com
sony.com        preference = 10, mail exchanger = mail4.fw-bc.sony.com

Denis

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20010214/4c7fb2f0/attachment.html>


More information about the Python-list mailing list