For statistical purposes, I'm trying to make a lot of requests, some
may be very long because the authoritative name servers are broken.

So, I wrote a parallel program with Python module "threading".

But it seems that a call to query():

           # myresolver = dns.resolver.Resolver(filename=resolvconf)
           
           aaaa = myresolver.query ("www.%s" % domain, 'AAAA')[0]

blocks the entire program (all the threads) if the request is slow.

Am I right? What can I do about it?

_______________________________________________
dnspython-users mailing list
[email protected]
http://howl.play-bow.org/mailman/listinfo.cgi/dnspython-users

Reply via email to