Page 1 of 1

Random connection adres

Posted: Mon May 30, 2005 2:10 pm
by D_Devil
Hi,

Whe have ah unrealircd server. and now whe have linked 2 ather servers to us. i have told my provider to add the 2 ip's of the new servers to the domein adres. he told me i had to add also something to my conf so when somebody whant's to connect it gets a random server of those 3.

I know now i have to ad something in the set block but i don't now what.

can anybody tell me

Greetings

Posted: Mon May 30, 2005 4:51 pm
by Matridom
the randomness is totaly dependant on the DNS name, if you have all three IP's under the DNS name (say irc.whatever.com) then the DNS server will round robin the IP's it hands out to requests.

The IRCD itself is incapable of sharing the load itself.

You can however add user limit to a class so that when say, server 1 has 100 connects, it will redirect people to server2, the problem with this, the client needs to have the support for this ability (currently i know mIRC does, not sure about other locations)

Posted: Wed Jun 01, 2005 12:33 am
by w00t
Instruct your provider to add another A records for irc.whatever.com pointing to the IPs you have.

As Matridom said, the IRCd does not handle load-balancing itself.
(Technically neither does this, but it works.)

Posted: Wed Jun 01, 2005 3:06 pm
by D_Devil
Thanks for the respons.

I have solfed the problem.
the provider did not invormed me corretly.

Grtz