random server

If you hit any installation issues or cannot connect to your freshly installed UnrealIRCd then this forum is for you.

Moderator: Supporters

Post Reply
abah
Posts: 23
Joined: Sat Mar 12, 2011 3:07 pm

random server

Post by abah »

I have 4 IRCd servers how can I randomize the 4 servers
Valware
Official supporter
Posts: 38
Joined: Wed Mar 31, 2021 3:17 am
Location: Internet
Contact:

Re: random server

Post by Valware »

I will answer this question under the assumption that by "randomize" you actually mean something like a round-robin, where you could attempt a connection at one domain name (irc.example.org) and it would take you to a "random" server on your network.

This is called a DNS Round-Robin. To configure this, you will need to configure your DNS with your domain registry site.

You can achieve the desired effect by adding multiple "A Record"s for the same subdomain for each of your servers.

For example, assuming you are making 'irc' pointing to an IP address. Just keep adding your IP addresses as new A Records using the same subdomain 'irc', until you have an 'irc' subdomain A Record pointing towards each of your severs IP addresses.
Got an idea for a module? Don't be shy! Come talk to me on #unreal-support
Like the support I provide? Consider supporting me with a donation.
abah
Posts: 23
Joined: Sat Mar 12, 2011 3:07 pm

Re: random server

Post by abah »

oke i try thanks
Syzop
UnrealIRCd head coder
Posts: 2117
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Re: random server

Post by Syzop »

What Valware says is basically it. It is also explained in this wiki article: Distributing user load and doing server maintenance
Post Reply