Greetings all,
For our network, we have 2 resolving name servers like this for instance:
* Recursive NS - 10.100.1.1
* Recursive NS - 10.100.1.2
We have a few hundred Linux machines with these two IP's in resolv.conf (or worse yet, some machines might only have one of the IP's above.)
So obviously regardless of the state of the two machines, both IP's must always be listening with DNS. How can we make the other automatically take over in the event of a failure?
I've been trying to adopt
heartbeat to take on this task. It seems to monitor two severs via serial cable, and has backend scripts to manage starting/stopping the daemon. It seems to have scripts for Oracle, Apache, MySQL; but no script for NameD.
Has anyone had experience in a similar high-availability failover with DNS resolution? We're familiar with BIND and would prefer not to use DJBDNS.
I'd like to hear experiences people have had with heartbeat or other solutions. It really seems simple; but there's been no practical application for this out in the wild I guess. It seems a bit dumb to employ a $4000+ load balancer for the job when something simpler could do.