Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 08-09-2011, 07:42 AM   #1
Registered: Aug 2006
Location: England Somewhere
Distribution: Mandriva, PCLinuxOS, Karoshi, Suse, Redhat, Ubuntu
Posts: 518

Rep: Reputation: 39
Question Looking TCP loadbalancing Solution that can Adhere to DNS TTLs on Backends

Hi All,

I'm looking for something that is as good as haproxy for load balancing TCP which can register failures and failover etc.

But backend servers will be listed with a DNS name which needs to be re-resolved every so often. HAproxy from what I understand isn't able to do this without being restarted so I'm looking for another solution that's able to re-resolve the backend hostname every so often either specified by config file TTL or by adhering to correct DNS TTLs and thus not getting stuck on using one IP as the IP behind the hostname changes quite often and a lot thus need to find a solution to this problem.

Things that won't work -
Pound as not really a tcp load balancer.
nginx - I just don't want to use it seem like wrong tool for job to me, same basis with Apache as well and mod proxy type stuff
Varnish - same problem as haproxy
Balance - just tested and seems to keep the Same IP DNS resolved to on start-up of balance

I've been looking more at crossroads, Zen load balancer, LVS - Overkill maybe? Don't care if something gets the job done

Advantage - if the tool has some method of getting statistical data from it about whats its processing etc like haproxy has

Update:- OK - I've now just installed and got Crossroads running. It seems to work nicely with DNS (whether its resolving DNS for every single client connection, which i think it might be and will add latency thats annoying but at least its something that will work). What are peoples thoughts and feelings on crossroads? Its not something i've heard of before...


Last edited by helptonewbie; 08-09-2011 at 09:41 AM.
Old 08-10-2011, 06:46 PM   #2
Senior Member
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650
I like it .. used it for email load balancing, the stats were ok for my requirements.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
dns and multiple TTLs, why do that? thllgo Linux - Server 2 02-08-2011 09:34 AM
TCP over DNS jaredscott Linux - Networking 4 02-18-2010 02:29 AM
DNS - TCP or UDP ? ddaas Linux - Networking 6 03-31-2007 04:42 PM
dns loadbalancing tzkolinux Linux - Networking 1 12-21-2004 12:40 AM
Forcing BIND cache TTLs BinaryBob Linux - Networking 0 12-05-2003 05:26 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:11 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration