Load Balancing Question...
Cricket Liu
cricket at acmebw.com
Tue Apr 25 02:19:34 UTC 2000
> I want to test our load balancer scheme, but only with
> 1/4 of the servers against the load balancer box, not all
> 8 servers (currently in rotation). The present scheme is
> DNS round-robin. It looks something like this:
>
> Domain snaptest.com
> home IN A 205.205.205.61
> IN A 205.205.205.62
> IN A 205.205.205.63
> IN A 205.205.205.64
> IN A 205.205.205.65
> IN A 205.205.205.66
> IN A 205.205.205.67
> IN A 205.205.205.68
>
> Round-Robin works as expected. The TTL is set
> for 15 minutes. Now, I have a load-balancer, which
> its IP Address is 205.205.205.60. All 8 of my web
> servers are bound to my load balancer's virtual LAN.
> What I'd like is to have 1/4 of each web server tested
> instead of all 8. For example. The load balancer is set
> to 205.205.205.60. When DNS does its round-robin
> I want to see the following:
>
> Server: localhost
> Address: 127.0.0.1
>
> Name: home.SnapTEST.COM
> Addresses: 205.205.205.60, 205.205.205.61, 205.205.205.62,
> 205.205.205.60, 205.205.205.63, 205.205.205.64,
> 205.205.205.60, 205.205.205.65, 205.205.205.66,
> 205.205.205.60, 205.205.205.67, 205.205.205.68
>
> The load balancer will always be first, then 2 of the web servers.
> When you query home again, DNS will round-robin and the next
> set of IP's will display the following:
>
> Server: localhost
> Address: 127.0.0.1
>
> Name: home.SnapTEST.COM
> Addresses: 205.205.205.60, 205.205.205.63, 205.205.205.64,
> 205.205.205.60, 205.205.205.65, 205.205.205.66,
> 205.205.205.60, 205.205.205.67, 205.205.205.68,
> 205.205.205.60, 205.205.205.61, 205.205.205.62
>
> And so on. I don't wish to use multiple CNAMES, only A Records
> (if possible). My question is:
>
> IS THIS HUMANLY POSSIBLE FOR BIND 8?
>
> I've tried many combinations, but to no avail.
>
> Your response is greatly appreciated. I thought I knew BIND
> exceptionally well, but I guess I don't know it as well as I thought.
BIND will compress duplicate records, so you can't return
205.205.205.60 multiple times.
cricket
Acme Byte & Wire
cricket at acmebw.com
www.acmebw.com
Attend the next Internet Software Consortium/Acme Byte & Wire
DNS and BIND class! See www.acmebw.com/training.htm for
the schedule and to register for upcoming classes.
More information about the bind-users
mailing list