1

I have 2 web servers that I want to load balance between them using the DNS technique.

But the kind of load balancing I want to implement is a little bit different: When a request comes in to the load balance server (Which I'll set up in addition to the 2 other servers), I want the load balancer to go through a short algorithm that I'll wrote - in order to decide to which server he should send the traffic.

Any similar implementation, or examples for general DNS load balancing that I should review? Please, anything will help - preferably examples.

1
  • Depending on what you are doing with those servers, maybe consider a hosted DNS solution that can do this. Jan 17, 2018 at 20:56

1 Answer 1

0

You'll find plenty of examples by searching for commercial GSLB documents (from F5, Citrix, Brocade, etc). Don't know what platform you're working on, but you may be able to implement this as a patch to a DNS server software such as bind.

3
  • Sorry for responding late, have been busy at some stuff. Any chance you'll expand on the BIND thing? (Those GSLB are too pricey for me, so this is my second option.)
    – Ron
    Aug 7, 2011 at 21:02
  • Hah, I thought you were going to write code for it and hence suggested BIND. I don't think there is a BIND plugin / mode that does GSLB (as the DNS purists hate GSLB). You may be find a purely software based GSLB from a commercial LB vendor for cheap / free. I don't want to suggest any, but you'll find it by googling.
    – jman
    Aug 8, 2011 at 21:33
  • I'll try to check out for a solution with a BIND implementation. I found some great articles explaining it.
    – Ron
    Aug 9, 2011 at 16:36

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .