Random connection adres

These are old archives. They are kept for historic purposes only.
Post Reply
D_Devil
Posts: 2
Joined: Mon May 30, 2005 2:03 pm
Location: Netherlands
Contact:

Random connection adres

Post 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
Matridom
Posts: 296
Joined: Fri Jan 07, 2005 3:28 am

Post 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)
Never argue with an idiot. They will bring you down to their level, then beat you with experience.
w00t
Posts: 1136
Joined: Thu Mar 25, 2004 3:31 am
Location: Nowra, Australia

Post 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.)
-ChatSpike IRC Network [http://www.chatspike.net]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
D_Devil
Posts: 2
Joined: Mon May 30, 2005 2:03 pm
Location: Netherlands
Contact:

Post by D_Devil »

Thanks for the respons.

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

Grtz
Post Reply