Yes, two IP-addresses work. At least with bind-4.9.3 . Two entries
like : PROXY.TELECOM.AT IN A 129.0.0.1
PROXY.TELECOM.AT IN A 129.0.0.2
lead to a rotary-group, IF both are equaly reachable. If one is
connected via ethernet and the other via a dial-up-line, the ethernet
will be used more often.
We have set it up like that:
ebone-proxy.univie.ac.at(parent of Machine1)
/ \
/ \
proxy.telecom.at proxy.telecom.at
Machine1(parent) <----------Machine2(daughter)
each Machine has it's own "real" name and a CNAME called
proxy.telecom.at.
Machine1 has one parent: ebone-proxy
Machine2 has two parents : Machine1 and ebone-proxy
After some days, the usage is pretty similar one both hosts.
Yours, Wolfgang.
> >I am a new user of Squid. I would like to know if Squid, used in
> >reverse-proxy mode, allows to load balance between two web
> >servers that mirror each other.
> >I know that Netscape Proxy allows to do it, but I could not find
> >any info about it in the Squid documentation.
> You might be able to do it if you set up a DNS entry with
> two IP addresses, but I haven't tried.
>
> Thats the easiest way I can think of.
Wolfgang Mader / / \ \ mader@telecom.at
S P A R D A T A G |--< * >--| domain-admin@telecom.at
Geiselbergstr. 21-25 \ \_/ / - - - - - - - - - - - -
A-1110 Wien, Austria, http://home.telecom.at:81/~mader
Europe Fax:+43 1 74045 5704
Received on Mon Mar 10 1997 - 23:03:19 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:34:39 MST