How to do DNS round robin with different weight
Wael Shahin
wael.shahin at gmail.com
Tue Apr 17 14:52:07 UTC 2007
Hello,
I apologies for not being careful in my last post
----- Original Message -----
From: "Mike Mitchell" <Mike.Mitchell at sas.com>
To: "Wael Shahin" <wael.shahin at gmail.com>; <ghicks at cadence.com>;
<bind-users at isc.org>; <skybirrd at aol.com>
Sent: Tuesday, April 17, 2007 5:18 PM
Subject: RE: How to do DNS round robin with different weight
This should read
RRSET-ORDER IS FULLY IMPLEMENTED IN BIND >= 9.4.0
The "fixed" ordering was not implemented until 9.4.0. "Cyclic" and "random"
were implemented earlier.
If you actually read the link Wael Shahin included, you'll find the
statement
Note
The rrset-order statement is not yet fully implemented in BIND 9. BIND 9
currently does not support "fixed" ordering.
at the end of the section on RRset Ordering.
If you want rrset-order "fixed" you have to use BIND 9.4.0 or BIND 8.4.7. I
recommend BIND 9.4.0.
Mike Mitchell
SAS Institute Inc.
Mike.Mitchell at sas.com
(919) 531-6793
-----Original Message-----
From: bind-users-bounce at isc.org [mailto:bind-users-bounce at isc.org] On Behalf
Of Wael Shahin
Sent: Tuesday, April 17, 2007 8:50 AM
To: ghicks at cadence.com; bind-users at isc.org; skybirrd at aol.com
Subject: Re: How to do DNS round robin with different weight
Hello,
> 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.
RRSET-ORDER IS FULLY IMPLEMENTED IN BIND > 9.2.3
have you read the bind 9 arm?
http://www.isc.org/sw/bind/arm93/Bv9ARM.ch06.html #RRset Ordering #sort
listing
having multiple records with fixed rrset-order might be of intrest
> 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