Re: [patch] Re: ldirectord and DNS

To: " users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [patch] Re: ldirectord and DNS
From: Horms <horms@xxxxxxxxxxxx>
Date: Thu, 29 Jan 2004 21:29:52 +0900
On Tue, Jan 27, 2004 at 11:32:53PM -0800, Tim Hasson wrote:
> Hi,
> The attached patch gets around the problem with ldirectord not doing any udp 
> checks, by using Net::DNS to test if the DNS server is resolving.
> You cannot simply just do a udp connect check, as udp is connectionless :)
> That is why ldirectord will always keep all real servers on any udp service, 
> regardless of the service status.
> So, you just basically install Net::DNS from cpan, and apply the attached 
> patch to /usr/sbin/ldirectord
> You can change in the patch or in ldirectord after you applied 
> the patch if you need to specify an internal domain or something else.
> The patch applied to several ldirectord versions cleanly, including the 
> latest 
> from ultramonkey heartbeat-ldirectord-1.0.4.rpm (I believe it was ldirectord 
> 1.76)

Thanks. I will do some testing and put it into the tree.

<Prev in Thread] Current Thread [Next in Thread>