DNS.DiscoverNameServer query

Michael Fuhr mfuhr at fuhr.org
Fri Aug 27 14:59:24 CEST 2004


"Tim Williams" <listserver at tdw.net> writes:

> How can I see which nameservers a  DNS.DiscoverNameServera()  finds?

import DNS
DNS.DiscoverNameServers()
print DNS.defaults['server']
# or 
req = DNS.DnsRequest()
print req.defaults['server']

-- 
Michael Fuhr
http://www.fuhr.org/~mfuhr/



More information about the Python-list mailing list