<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" id="owaParaStyle"></style>
</head>
<body fpstyle="1" ocsi="0">
<div style="direction: ltr;font-family: Courier New;color: #000000;font-size: 10pt;">
lbnamed is a DNS server written in Perl.  You delegate a zone to it, and let it dynamically figure out the best IP address to return.
<div><br>
</div>
<div>See <a href="http://www.stanford.edu/~riepel/lbnamed/" target="_blank">http://www.stanford.edu/~riepel/lbnamed/</a></div>
<div><br>
</div>
<div>There are 3rd-party appliances that do similar functions, such as F5's GTM or Cisco's GSS.</div>
<div><br>
</div>
<div>Mike Mitchell<br>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div id="divRpF243937" style="direction: ltr;"><font face="Tahoma" size="2" color="#000000"><b>From:</b> Manish Rane [manishr78@gmail.com]<br>
<b>Sent:</b> Thursday, August 22, 2013 5:05 AM<br>
<b>To:</b> Mike Mitchell<br>
<b>Cc:</b> Steven Carr; bind-users<br>
<b>Subject:</b> Re: ISO or virtual appliance<br>
</font><br>
</div>
<div></div>
<div>
<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" 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>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>