Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
up vote 3 down vote accepted

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: and

share|improve this answer
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. – Travis Campbell Jan 26 '12 at 18:42

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.