I'm looking for a "how to" for setting up a DNS round robin.
I'm running RedHat 9 on two servers. I just want every second request to one (verlaine) be redirected to the other (rimbaud). Supposedly, I should just add:
verlaine.byu.edu 60 IN A 128.187.176.25 rimbaud.byu.edu 60 IN A 128.187.176.24
to some file, but to which one?
Any online docs would be nice, but I've had a hard time finding any.
You might be biting off more than you can chew trying to do this with DNS. Firstly you don't have any power over BYU's DNS servers (unless you do... someone must right?) so you can't do that on BYU's domain. I suppose you could call the DNS admin and ask him if he can set up round robin for you.
There are other options for load balancing, depending on what your bottleneck is. If it's network bandwidth then DNS is your best option, but chances are you're not saturating the bandwidth.
DNS round robin is where a single name has two ip addresses, so for instance:
robin.byu.edu IN A 128.187.176.25 128.187.176.24
I'm not sure if the syntax is correct, but it's something like that.
If bandwidth is OK, then you can use a simple TCP load balancer. I've been really happy with balance <http://balance.sourceforge.net/>. You give it a list of addresses and ports to balance over and have it listen on a single address and port. Then when someone connects to that one address it forwards the request to one of the addresses/ports in the list.
You also need to be aware that not all services can be balanced. If it's just HTTP then you're okay.
If you're just doing all this for fun and learning then you'll need to buy a domain name and set up your own DNS servers. It's not too hard, but it's not really easy either.
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ newbies mailing list [EMAIL PROTECTED] http://phantom.byu.edu/cgi-bin/mailman/listinfo/newbies
