using multiple servers with just 1 dns?

Talk about pretty much anything here, but DO NOT USE FOR SUPPORT.

Moderator: Supporters

Locked
FiNaLBeTa

using multiple servers with just 1 dns?

Post by FiNaLBeTa »

When going to some networks, you go for example to dns irc.bla.nu
and then that servers links you through to enother irc server. and the next time to again enother irc server.

How is that done? is their an unreal ircd running on irc.bla.nu (is that what a hub is for? ) or is irc.bla.nu a host that just dos port forwarding?

thank you for any responds.
aquanight
Official supporter
Posts: 862
Joined: Tue Mar 09, 2004 10:47 pm
Location: Boise, ID

Post by aquanight »

Well, there are two ways it can be done:
  • You have a single server at irc.blah.nu which has a server daemon to randomly forward the connection to other servers. This isn't the recommended way.
  • Your NameServer for bla.nu has multiple A records for irc thus creating a "round robin". When this occurs the IP returned is selected more-or-less randomly (guess this depends on the nameserver software. Some might just have some sequential rotation). Thus every time you resolve irc.bla.nu you'll get a different IP because there are multiple IPs associated with that domain. This is what networks usually use.
katsklaw
Posts: 1124
Joined: Sun Apr 18, 2004 5:06 pm
Contact:

Post by katsklaw »

The "round robin" that aquanight is refering to are multiple A record entries in your DNS file

Code: Select all


irc                  IN       A     1.2.3.4
irc                  IN       A     2.3.4.5
irc                  IN       A     3.4.5.6

Jason
Posts: 570
Joined: Mon Jun 14, 2004 5:09 pm

Post by Jason »

I know basicly no DNS, and had just learned that fact the day before i posted it (or neglected to do so, not sure if i did or not, bad memory) but whats the IN?
Why the hell can't my signature be empty?
"Your message contains too few characters."
AngryWolf
Posts: 554
Joined: Sat Mar 06, 2004 10:53 am
Location: Hungary
Contact:

Post by AngryWolf »

"IN" stands for Internet servers. If you want to read a documentation about DNS, I suggest the ones below:

http://www.freeos.com/articles/3956/
http://www.bradfordlearning.com/_pdf/_s ... hapter.pdf

Of course, there might be better ones.
codemastr
Former UnrealIRCd head coder
Posts: 811
Joined: Sat Mar 06, 2004 8:47 pm
Location: United States
Contact:

Post by codemastr »

The IN is really optional. None of the other classes (Chaos and Hesiod) are almost completely dead. So IN has become the default.
-- codemastr
Locked