Multiple Address record howto

Barry Margolin barry.margolin at level3.com
Tue Sep 30 14:36:30 UTC 2003


In article <blburv$1nrj$1 at sf1.isc.org>,  <mazin at davlin.co.in> wrote:
>Hi,
>I am using bind since from past two years.
>Is there any facility to have multiple address record for same domain
>so that the request gets balanced among multiple servers.
>Ex:
>
>test.com    A     192.168.1.2
>test.com    A     192.168.1.3
>test.com    A     192.168.1.4
>test.com    A     192.168.1.5

That's the way to do it.

>So that the first request resolves to 192.168.1.2 and second request to
>192.168.1.3 and so on......

Every request returns *all* of the addresses, with the order rotated each
time in round-robin fashion (you can change this default with named.conf
options).  Most applications either just use the first address in the
response or try them in order, so you should get the load balancing
behavior you want.

Look up "round robin" in the DNS & BIND book.

-- 
Barry Margolin, barry.margolin at level3.com
Level(3), Woburn, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.


More information about the bind-users mailing list