Round Robin problem
kcd at daimlerchrysler.com
Thu Dec 19 22:31:25 UTC 2002
Kostas Papahristofis wrote:
> Dear sir,
> I have 2 web servers web1.i-ticket.gr and web2.i-ticket.gr with IPs e.g
> and 220.127.116.11 respectively. I want to have redundancy via DNS on these
> servers through Round Robin
> technique. I want to "map" <http://www.i-ticket.gr> www.i-ticket.gr on both
> web servers, so if something happens
> to the one server, the client to be able to reach the second one.
> I configured the following :
> To the zone/db "i-ticket" I did :
> web1 IN A 18.104.22.168
> web2 IN A 22.214.171.124
> www 5 IN CNAME web1
> www 5 IN CNAME web2
What you have done is illegal and will be rejected in modern versions of BIND
(you need to update, by the way, for security reasons).
You can have "www.i-ticket.gr" resolve to both of those IP addresses (no
CNAMEs), and this will give you some rudimentary load-balancing and failover.
If you want something better than that, use a load-balancing solution from
Cisco or other telecom-gear vendor.
More information about the bind-users