[OT] Re: Website failover

Ketil Froyn isc_bind at ketil.froyn.name
Wed Jul 21 09:44:24 UTC 2004


On Wed, 2004-07-21 at 10:18, Willem Kossen wrote:
>  >"John" <john.vanLit at ratio-it.nl> wrote in message
>  news:faa10916.0407200315.71aeb3f6 at posting.google.com...
>  >all,
>  >How can I configure DNS so
>  >that a www request always goes to the primary server A but when server
>  >A is offline the same request goes automatically to server B?
>  
>  use one or more linux hosts with iptables as frontend (have dns point to
>  them). the linux iptables will than redirect (DNAT) the traffic on port 80
>  to your server A. You run a script that will ping server A every couple of
>  seconds. If a few pings fail, you will simply update the iptables rule to
>  redirect to server B from the script. You also have the script send you an
>  email telling you server A is down.

Instead of making this yourself, avoid all the basic pitfalls and use
something that already exists:

  http://www.ultramonkey.org/

Ketil Froyn
ketil at froyn.name
http://ketil.froyn.name/



More information about the bind-users mailing list