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.
See http://www.stanford.edu/~riepel/lbnamed/ There are 3rd-party appliances that do similar functions, such as F5's GTM or Cisco's GSS. Mike Mitchell ________________________________ From: Manish Rane [manish...@gmail.com] Sent: Thursday, August 22, 2013 5:05 AM To: Mike Mitchell Cc: Steven Carr; bind-users Subject: Re: ISO or virtual appliance 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. 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. 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. Any ideas guys?? On Thu, Aug 22, 2013 at 1:16 PM, Mike Mitchell <mike.mitch...@sas.com<mailto:mike.mitch...@sas.com>> wrote: Several years ago I used a Perl script called "lbnamed" that monitored status and returned the host IP address that was least loaded. Mike Mitchell -------- Original message -------- From: Steven Carr <sjc...@gmail.com<mailto:sjc...@gmail.com>> Date: 08/21/2013 10:25 PM (GMT-08:00) To: bind-users <bind-users@lists.isc.org<mailto:bind-users@lists.isc.org>> Subject: Re: ISO or virtual appliance On 22 August 2013 05:39, Manish Rane <manish...@gmail.com<mailto:manish...@gmail.com>> wrote: > So, DNS will monitor the host on port 80 and as soon as it detects that > either of the host/link is down it would remove the associated entry and > re-populate the entries > > Is any one aware of such solution readily available? I believe I already > posted similar question but havent heard much positive things. The only open source "appliance" I'm aware of is http://www.zenloadbalancer.org but AFAIK that doesn't update DNS, it proxies the traffic on a virtual IP address to balance/provide HA. The easiest method if you want to do it by DNS is a simple script that is cron'd to run every X minutes and either use `nsupdate` to push updates to the records or sed/awk to rename records and then reload zone files. Not sure what you are struggling with, this is something that can be knocked together in a matter of minutes by any scripter/programmer. If you have a monitoring system like Nagios you could use the various hooks it provides to run scripts when something happens/changes state rather than writing your own custom monitoring piece. Steve _______________________________________________ Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list bind-users mailing list bind-users@lists.isc.org<mailto:bind-users@lists.isc.org> https://lists.isc.org/mailman/listinfo/bind-users _______________________________________________ Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list bind-users mailing list bind-users@lists.isc.org<mailto:bind-users@lists.isc.org> https://lists.isc.org/mailman/listinfo/bind-users
_______________________________________________ Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users