[vox-tech] Redundant DSL Question
Rod Roark
vox-tech@lists.lugod.org
Sun, 22 Dec 2002 10:25:53 -0800
I'm inspired to ask this after waking up to a dead DSL line
this morning. Fortunately it revived shortly thereafter,
but concerns linger as I provide mail, WWW and some other
services that I REALLY want to stay up.
Suppose I have two DSL lines attached to my multi-homed=20
server. I can think of two different ways to handle the
DNS:
(1) Round-robin DNS. Advertise both external IP addresses
for the same domains. DNS lookups have an equal chance of
returning either IP. This approach is suggested by:
http://www.samag.com/documents/s=3D1824/sam0201h/0201h.htm.
(2) Run a separate instance of BIND on each of the two
interfaces, one as the primary and one as the secondary
nameserver. Each instance resolves names to its own IP
address. This way if the primary DSL line dies, so does its
nameserver and the outside world will presumably try the=20
secondary nameserver, which in turn will give out only the
remaining IP.
#1 seems like a nice solution for load balancing, but I'm
not sure how well it works for failover which is my primary
concern. In particular, will half of all HTTP requests fail
if either line goes down? I suspect so.
#2 I just made up. Comments?
Any other ideas?
Thanks,
-- Rod