On 11 Jul 2010, at 02:06, Marc Vilanova wrote: > Hi folks, > > I am new in the list. My name is Marc Vilanova and I am currently > working for e-laCaixa CSIRT. We are developing a tool for domain name > information gathering through dnspython and I was wondering if anyone > could point me out how can I set up the timeout setting. > > I tried "dns.resolver.Resolver.timeout = 2.0", but it doesn't work.
my_resolver = dns.resolver.Resolver() my_resolver.timeout=2.0 Also, be sure you really want to change 'timeout' (time to wait for any given server's response) vs. 'lifetime' (maximum time to wait to get an answer) _______________________________________________ dnspython-users mailing list [email protected] http://howl.play-bow.org/mailman/listinfo.cgi/dnspython-users
