Hi Martin,
On Mon, Jan 05, 2009 at 01:58:56PM -0000, Ward, Martin wrote:
*** DNS lookup of 'a:smtp.server.com' *** Timeout (channel destroyed)
In this instance it was the A record that failed but in others it is the NS record. I always get one of the queries back successfully, but not both.
These were working fine until I upgraded to Xymon 4.2.2 so this looks like the culprit. Any ideas or suggestions?
there was a change done in 4.2.2 - backported from the 4.3.x code - to fix a bug that could cause the network tests to lockup while doing the DNS lookups. It is probably that "fix" that causes the problem.
Going over the DNS code again, I think there's some flawed logic in how it handles the lookups. Could you try the attached version of xymon-4.2.2/bbnet/dns.c ? Just copy it on top of the existing one, then run "make" and copy the resulting xymon-4.2.2/bbnet/bbtest-net binary to your ~xymon/server/bin/ directory (save the existing one just in case this completely breaks stuff).
Let me know if that is better.
Regards, Henrik