<div dir="ltr">Well, I was thinking on the same line. Use nagios plugins check_tcp and monitor the status. The only challenge I am seeing here is updating zone and nsupdate I believe can only work with Dynamic zones and not with static entries. <div>
<br></div><div>Sed/awk might not scale well if the zone count increases hence wondering if there are any php/jsp developers available in this community who can take this up a anew open source project just like developing solution similar to F5 GTM/LTM. </div>
<div><br></div><div>I guess if we use mysql as a backend to store the zone or entries then by passing the queries we can alter the zone file. But again challenges are how to run a check_tcp  from front end or pass the output of that command so that appropriate changes will be done in zone file.</div>
<div><br></div><div>Any ideas guys??</div><div class="gmail_extra"><br clear="all"><div><br></div><br><div class="gmail_quote">On Thu, Aug 22, 2013 at 1:16 PM, Mike Mitchell <span dir="ltr"><<a href="mailto:Mike.Mitchell@sas.com" target="_blank">Mike.Mitchell@sas.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div>
<div>Several years ago I used a Perl script called "lbnamed" that monitored status and returned the host IP address that was least loaded. 
<span class="HOEnZb"><font color="#888888"><div><br>
</div>
<div>Mike Mitchell</div></font></span><div class="im">
<br>
<br>
<br>
-------- Original message --------<br>
From: Steven Carr <<a href="mailto:sjcarr@gmail.com" target="_blank">sjcarr@gmail.com</a>> <br>
Date: 08/21/2013 10:25 PM (GMT-08:00) <br>
To: bind-users <<a href="mailto:bind-users@lists.isc.org" target="_blank">bind-users@lists.isc.org</a>> <br>
Subject: Re: ISO or virtual appliance <br>
<br>
<br>
</div></div><div><div class="h5">
<font><span style="font-size:10pt">
<div>On 22 August 2013 05:39, Manish Rane <<a href="mailto:manishr78@gmail.com" target="_blank">manishr78@gmail.com</a>> wrote:<br>
> So, DNS will monitor the host on port 80 and as soon as it detects that<br>
> either of the host/link is down it would remove the associated entry and<br>
> re-populate the entries<br>
><br>
> Is any one aware of such solution readily available? I believe I already<br>
> posted similar question but havent heard much positive things.<br>
<br>
The only open source "appliance" I'm aware of is<br>
<a href="http://www.zenloadbalancer.org" target="_blank">http://www.zenloadbalancer.org</a> but AFAIK that doesn't update DNS, it<br>
proxies the traffic on a virtual IP address to balance/provide HA.<br>
<br>
The easiest method if you want to do it by DNS is a simple script that<br>
is cron'd to run every X minutes and either use `nsupdate` to push<br>
updates to the records or sed/awk to rename records and then reload<br>
zone files. Not sure what you are struggling with, this is something<br>
that can be knocked together in a matter of minutes by any<br>
scripter/programmer. If you have a monitoring system like Nagios you<br>
could use the various hooks it provides to run scripts when something<br>
happens/changes state rather than writing your own custom monitoring<br>
piece.<br>
<br>
Steve<br>
_______________________________________________<br>
Please visit <a href="https://lists.isc.org/mailman/listinfo/bind-users" target="_blank">https://lists.isc.org/mailman/listinfo/bind-users</a> to unsubscribe from this list<br>
<br>
bind-users mailing list<br>
<a href="mailto:bind-users@lists.isc.org" target="_blank">bind-users@lists.isc.org</a><br>
<a href="https://lists.isc.org/mailman/listinfo/bind-users" target="_blank">https://lists.isc.org/mailman/listinfo/bind-users</a><br>
<br>
</div>
</span></font>
</div></div></div>

<br>_______________________________________________<br>
Please visit <a href="https://lists.isc.org/mailman/listinfo/bind-users" target="_blank">https://lists.isc.org/mailman/listinfo/bind-users</a> to unsubscribe from this list<br>
<br>
bind-users mailing list<br>
<a href="mailto:bind-users@lists.isc.org">bind-users@lists.isc.org</a><br>
<a href="https://lists.isc.org/mailman/listinfo/bind-users" target="_blank">https://lists.isc.org/mailman/listinfo/bind-users</a><br></blockquote></div><br></div></div>