3

I'm just trying to configure my DNS server to switch the DNS entry in my DNS server (bind) if a server becomes unreachable. Is there a simple tool that I can use to do so?

1 Answer 1

3

You should be aware that your idea is not ideal. You would have to make a trade-off between the TTL records (the amount of time your DNS records are cached on other servers) and the amount of time the fail over server is not reached by visitors using cached information when the primary server went down.

If you set the TTL values low, a switchover can happen almost instantly, but every request by a new visitor to your server will be unnecessarily slower.

I would suggest using another kind of fail-over, eg. a proxy or fail-over IP.

Besides that have a look at: http://clusterlabs.org and http://linux-ha.org/wiki/Main_Page

1
  • 1
    The other related issue to this is: not everyone will respect your low TTL. Some people cache things well beyond what you would expect. During a failure, those people would still be unable to reach your service because they would think they should still be using the old DNS values. Jan 26, 2012 at 18:42

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .