load balance of DNS
Warren Kumari
warren at kumari.net
Mon Jan 16 18:20:35 UTC 2012
On Jan 13, 2012, at 2:30 PM, Barry Margolin wrote:
> In article <mailman.826.1326465946.68562.bind-users at lists.isc.org>,
> Simon <simon at bk.it.cx> wrote:
>
>> Hi,
>>
>> sure it is.
>>
>> Here a more detailed version:
>> http://www.zytrax.com/books/dns/ch9/rr.html
>
> RR usually results in roughly equal load balancing. He said he wants
> one of the addresses to get MORE traffic than the other. How do you
> propose he specify the ratios with BIND?
One (icky) solution is to hand out more addresses for one server than the other…
www.example.com IN A 192.168.1.1
www.example.com IN A 192.168.1.2
www.example.com IN A 192.168.1.3
www.example.com IN A 192.168.2.1
Bind 192.168.1.[1-3] to server1 and 192.168.2.1 to server2.
server1 should now get kinda roughly 3 time as much traffic as server2 (depending on number of clients, phase of moon, flavor of ice-cream, etc).
Horrendously icky, waste of space, etc but…
W
>
>>
>> Regards,
>> Simon
>>
>> On Fri, 13 Jan 2012 22:40:31 +0800, MyDots.net wrote:
>>> Hi,
>>>
>>> Is there a good way of running the current BIND (9.7 and later) for
>>> load balancing a special record?
>>> for example,
>>>
>>> www.example.com IN A 192.168.1.1
>>> www.example.com IN A 192.168.1.2
>>>
>>> I want the first one to get more web traffic than the second one.
>>> I know other 4 or 7 layer software (like LVS and Nginx) can do that,
>>> but also want to know if BIND supports this.
>>>
>>> Thanks.
>>> _______________________________________________
>>> Please visit https://lists.isc.org/mailman/listinfo/bind-users to
>>> unsubscribe from this list
>>>
>>> bind-users mailing list
>>> bind-users at lists.isc.org
>>> https://lists.isc.org/mailman/listinfo/bind-users
>
> --
> Barry Margolin
> Arlington, MA
> _______________________________________________
> Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list
>
> bind-users mailing list
> bind-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/bind-users
>
---
Don't be impressed with unintelligible stuff said condescendingly .
-- Radia Perlman.
Warren Kumari
warren at kumari.net
More information about the bind-users
mailing list