Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Mar 2003 22:50:04 +0000
From:      David Dooley <dpd@raffles-it.com>
To:        "Aaron Burke" <aburke@nullplusone.com>
Cc:        freebsd-questions-local@be-well.no-ip.com, freebsd-questions@FreeBSD.ORG
Subject:   Re: Mirroring/load-balance two servers
Message-ID:  <20030306225004.7b954fdc.dpd@raffles-it.com>
In-Reply-To: <AMEMKJNMFLJCJDLFIEDBGEDJCKAA.aburke@nullplusone.com>
References:  <44k7fcz32q.fsf@be-well.ilk.org> <AMEMKJNMFLJCJDLFIEDBGEDJCKAA.aburke@nullplusone.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--LmRy_et_q=.N_4rD
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

The only problem with using DNS round robin like this, is that, in this
scenario when 1 server is down, on average 1 in 3 requests to the web server
will fail. But as previous posters have commented DNS should respond with the
same 3 addresses, but it will rotate the order each time, in the version (
named 8.3.4-REL Sun Feb  9 01:23:18 GMT 2003 on 4.7-STABLE of the same date )
I am using it appears to return the addresses in some sort of random order at
least it does for me in my test.

On Thu, 6 Mar 2003 12:09:06 -0800
"Aaron Burke" <aburke@nullplusone.com> wrote:

> > "Aaron Burke" <aburke@nullplusone.com> writes:
> > 
> > > To my knowlege, yes. Lets say you had a server called www.
> > > You would just give it two addresses in your domain configuration
> > > files.
> > > 
> > > www	IN	CNAME	12.34.56.78
> > > www	IN	CNAME	9.10.11.12
> > > www	IN	CNAME	65.4.3.21
> > 
> > That should be A records, not CNAMEs.
> Err, you are correct, my mistake.
> 
> > 
> > > The DNS standard will give out a different address for every
> > > query. To get the address 12.34.56.78 twice, you would have
> > > to make 4 unique queries for the server records.
> > 
> > Where does the standard say that?  Most servers will return the
> > records in the same order each time by default, and my reading of the
> > standards is that this is perfectly acceptable behaviour.
> 
> I have personally not read the standard. It is just information
> thats been given to me by some knowlegable friends.
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 


-- 

David Dooley
dpd@raffles-it.com

--LmRy_et_q=.N_4rD
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE+Z9CgiTCzTVFwd6wRAqcgAKDoFTVBFAhadANLzlKfd+XGfLV80gCggTwz
P5Nf3fU6FpvqWa7UN1OTW2s=
=L76b
-----END PGP SIGNATURE-----

--LmRy_et_q=.N_4rD--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030306225004.7b954fdc.dpd>