How to do DNS round robin with different weight

skybirrd at aol.com skybirrd at aol.com
Tue Apr 17 08:48:46 UTC 2007


Hello,

But under my test BIND 9 can't do this by your way.
Yes under BIND 8 we can do the load balance like the way you 
mentioned,but BIND 9 seems not support this.
Anyway thanks!

--Sky

-----Original Message-----
From: ghicks at cadence.com
To: bind-users at isc.org; skybirrd at aol.com
Sent: Tue, 17 Apr 2007 3:59 PM
Subject: Re: How to do DNS round robin with different weight

> To: bind-users at isc.org
> Subject: How to do DNS round robin with different weight
> Date: Tue, 17 Apr 2007 03:01:52 -0400
> From: skybirrd at aol.com
>
> Hello members,
>
> I'm running BIND-9.3.2. I add these items to do the DNS round-robin:
>
> bbs    61.143.0.1
>          61.143.0.2
>
>
> Then the internet accesses would go to both IPs averagely.
>
> But if I need to drive more traffic to the first IP,I may need to set
> different weight for both IPs.
> How can I set this weight in Bind?

Put the IP address in multiple times.  Eg, you want traffic to go to
the first Ip 3 of 4 times.  Have a four record RRset.  Put the first Ip
in this RRset three times and the second IP in once.  Eg:

host    IN A 1.2.3.4
    IN A 1.2.3.4
    IN A 1.2.3.4
    IN A 1.2.3.5

Or put a load balancer in front of the two IP addresses that divies the
traffic up in a 3:1 ratio.  (But this is not in accordance with the 
BIND
discussion charter.)

See the BIND-USERS archives for more info.

Regards,
GRegory Hicks

---------------------------------------------------------------------
Gregory Hicks                           | Principal Systems Engineer
Cadence Design Systems                  | Direct:   408.576.3609
555 River Oaks Pkwy M/S 9B1
San Jose, CA 95134

I am perfectly capable of learning from my mistakes.  I will surely
learn a great deal today.

"A democracy is a sheep and two wolves deciding on what to have for
lunch.  Freedom is a well armed sheep contesting the results of the
decision."

"The best we can hope for concerning the people at large is that they
be properly armed." --Alexander Hamilton


________________________________________________________________________
AOL now offers free email to everyone.  Find out more about what's free 
from AOL at AOL.com.



More information about the bind-users mailing list