W dniu 2014-05-07 21:03, Scott Kitterman napisaƂ(a):
On Wednesday, May 07, 2014 20:25:58 s...@spam.charonski.pl wrote:
# dpkg -l | grep python-dns
ii  python-dns                        2.3.6-1+deb7u1
all          DNS client module for Python

I've checked /usr/lib/python2.7/dist-packages/DNS/Base.py and patch for
that earlier DNS bug (#718547) is applied.

I did investigate this and found that the default timeouts in python-spf and
python-dns are rather long.  With a series of non-responsive DNS
servers as in
the bug, it can take a very long time to get a result, but one does return.

I agree it's a bug, but not a grave one. Python-spf 2.0.9 that's in jessie will default to a shorter period. I do plan to backport that, which will help. I will also, in a future release, add a configuration option of the
policy server so you can adjust the timeout.

Scott K

The problem may not be timeouts, but some bug by which python-dns can't resolve correctly got DNS answer. The servers, I attached, work (at last checking with dig/host). Maybe some DNS record needed by SPF is filtered by them and it's the cause? I think it freezes, because DNS server returns some incomplete answer and python-dns can't handle it and wait on timeout, but I didn't check it with any sniffer.

However, shorter timeouts should be good workaround.


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to