[ale] DNS
James P. Kinney III
jkinney at localnetsolutions.com
Tue Sep 14 23:17:01 EDT 2004
On Tue, 2004-09-14 at 22:55, Brandon Colbert wrote:
> I want to be able to setup a redundant Internet connection using two
> isp. If one link goes down, I want to be able to access the webserver
> via other link. I know I am going to have to setup ip alias, but how do
> I setup the round robin DNS or is there an another way to handle this.
You'll need to have primary and secondary resolv.conf files. Most ISP's
don't care if you use a dns that is not theirs, but it may make things
slow.
At any rate, make sure your ISP's are locked to a specific ethernet
card. Now you can use iptable/ipchains to route a specific ISP's DNS
server requests out a specific ethernet card. The reason for the dual
resolve.conf files is so when one goes down (call it the primary dns)
you can script a ping test of the upstream gateway for each node and
reset a link to /etc/resolve.conf based on which ISP node has died. Make
the last entry in each file a DNS server from the other ISP so current
queries can still get handled if the node dies during a DNS request.
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale
>
> !DSPAM:4147b032211501528211405!
--
James P. Kinney III \Changing the mobile computing world/
CEO & Director of Engineering \ one Linux user /
Local Net Solutions,LLC \ at a time. /
770-493-8244 \.___________________________./
http://www.localnetsolutions.com
GPG ID: 829C6CA7 James P. Kinney III (M.S. Physics)
<jkinney at localnetsolutions.com>
Fingerprint = 3C9E 6366 54FC A3FE BA4D 0659 6190 ADC3 829C 6CA7
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
More information about the Ale
mailing list