Patrick Dreker wrote:
It seems that in dns/resolver.py in function query() the nameservers are queried, but even in the event of a useful response dnspython uses the "don't pound the nameservers" wait.

The attached patch fixes this by breaking out of the while loop, if response "is not None" before executing the wait.

I am not quite sure, whether this actually is the right way to fix the problem, or if there actually is a problem, but the patch makes sense to me, so I forward it here.
It is a bug, and the patch is the right fix. I've committed the fix to the dnspython repository, and it will be in the next release (which I hope is soon!)

/Bob

_______________________________________________
dnspython-bugs mailing list
[email protected]
http://woof.play-bow.org/mailman/listinfo/dnspython-bugs

Reply via email to