Bas Zoetekouw said:
> Nope, afaik nothing changed since last week's run (which went ok)

My recently checked in code to randomise the source port of the DNS
queries is what I think is the most likely culprit.

Are you able to run some mass checks to test this? First run one again to
verify that the problem consistently shows up. Then in DnsResolver in sub
connect_sock, comment out the one line

    LocalPort => $lport,

That should cause the code to revert to the usual way of selecting a free
UDP source port. If that makes the problem go away then either there is
something wrong with my code, or, more likely, I was too casual about the
possibility that the random number might start looking for a port at too
high an number and not find anything, and too casual about how such a
case would be handled by the subsequent code. Both are easy to fix if we
know it is a problem.

If patching out that line does not change the symptoms then we have to
look for a completely different explanation.

 -- sidney


Reply via email to