[hobbit] Two DNS lookups for a server but one fails

Ward, Martin Martin.Ward at colt.net
Wed Jan 7 16:51:35 CET 2009


Hi Henrik,

I compiled that in and installed it but it seems to have messed up all the remote port checks. All my ssh port tests, which are initiated from the server, are now purple, as well as the DNS checks, syslog port checks and others besides.

Rebuilding with the previous version has restored the remote port checks as well as the dual-DNS-check errors.

|\/|artin

> -----Original Message-----
> From: Henrik Størner [mailto:henrik at hswn.dk] 
> Sent: 07 January 2009 13:30
> To: hobbit at hswn.dk
> Subject: Re: [hobbit] Two DNS lookups for a server but one fails
> 
> 
> 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
> 
> 


*************************************************************************************
The message is intended for the named addressee only and may not be disclosed to or used by anyone else, nor may it be copied in any way. 

The contents of this message and its attachments are confidential and may also be subject to legal privilege.  If you are not the named addressee and/or have received this message in error, please advise us by e-mailing security at colt.net and delete the message and any attachments without retaining any copies. 

Internet communications are not secure and COLT does not accept responsibility for this message, its contents nor responsibility for any viruses. 

No contracts can be created or varied on behalf of COLT Telecommunications, its subsidiaries or affiliates ("COLT") and any other party by email Communications unless expressly agreed in writing with such other party.  

Please note that incoming emails will be automatically scanned to eliminate potential viruses and unsolicited promotional emails. For more information refer to www.colt.net or contact us on +44(0)20 7390 3900.




More information about the Xymon mailing list