Load Balancing - Not Via RRDNS, I need help

Ok, I need to load balance about 4 servers. I had heard about Load balancing DNS, however, there is problem with it. If a DNS server from an ISP uses DNS Caching, it will onyl remeber the first DNS entry it received, in otehr words, it will send all its users to that one IP... So load balacing is kind of usless at that point if all the customers are going to one ip...

I found a few Mod-rewite sctips, but they need you to have a proxy server set up.

Is there any other way... Basicaly, this is how it works...

sitea.com has links to files, the files are located on srv1.siteb.com, srv2.siteb.com, srv3.siteb.com and srv4.siteb.com, which in turn is 4 different IP addresses.

I tested round robin DNS, and all I got was srv1.siteb.com as my ISP does the DNS caching. I pinged from another server, and it got 4 different IPs, but then again it was local to its DNS... So the potential for failure is there... I want a solution where all the server does is click a link to:
www.siteb.com/dir/file.ext and the solution then pitns them to either:

srv1.siteb.com/dir/file.ext or
srv2.siteb.com/dir/file.ext or
srv3.siteb.com/dir/file.ext or
srv3.siteb.com/dir/file.ext

Doe anyone have any other solutions otehr than RRDNS and mod_rewrite.

 

 

 

 

Top