DNS Round Robin

James Sebastian spamtrap at jncasr.ac.in
Tue Feb 24 10:36:57 UTC 2004


Hi all,

I am new to this forum. I am struck with DNS round robin.

Kevin Darcy <kcd at daimlerchrysler.com> wrote in message news:<bvc8f9> >beta1.company.com.	30	IN	A	192.168.1.1
> >beta2.company.com.	30	IN	A	192.168.1.2
> >beta3.company.com.	30	IN	A	192.168.1.3
> >beta.company.com.	30	IN	CNAME		beta1.company.com.
> >beta.company.com.	30	IN	CNAME		beta2.company.com.
> >beta.company.com.	30	IN	CNAME		beta3.company.com.

If I want to get responses in round robin fashion strictly how should
I setup bind.

I set up bind as per the instruction of DNS cook book
like

WWW     IN    A     x.x.x.1
        IN    A     x.x.x.2
         IN   A     x.x.x.3
         IN   A     x.x.x.4

But nslookup returns the answer in random order only. 

Learning it beahves as cyclic random, I recnfigured the DNS using bind
8.4.4 and used rrset-order and multiple-cnames.

multiple-cnames yes;
rrset-order {
        class IN type A name "hp110.test.com" order cyclic;
        };

I tried order cyclic and fixed. But lookup results is not in round
robin fashion.

I understand by round robin, I should get answeres in the oder 1,2,3,4
; 2,3,4,1; 3,4,1,2  etc etc...But it always comes in random order
(like 1,2,3,4; 4,5,1,2; 4,5,1,2; 3,4,1,2 etc..)

I tried even fixed which I expected results in fixed manner, but I am
not getting that way..

Can any one of you tell me where I am making mistakes and I need to
setup DNS to respond in the order 1,2,3,4; 2,3,4,1; 3,4,1,2; 4,1,2,3
for testing of a project.

Appreciating any help & thanks,

James Sebastian


More information about the bind-users mailing list