Round-Robin Multiply record & 1 IP

Chris Buxton cbuxton at menandmice.com
Thu Mar 22 18:22:21 UTC 2007


To do so would violate the standard, which says that an RRSet is  
treated as an atomic unit (all the records that match the query,  
every time). Therefore, BIND does not provide the capability you're  
looking for.

Take a look at a DNS-based load balancing and fault tolerance  
product, such as lbnamed or some kind of appliance solution. Or  
better yet, use a load balancer on whatever other protocol you're  
using (e.g. http, vpn, etc.).

Another solution would be to put a smaller RRSet into your zone, such  
as just the first 6 records, and then every few seconds have some  
other process dynamically update the RRSet. The update would be  
something like this:

update delete name A
update add name 300 A 15.1.38.1
update add name 300 A 15.1.38.2
update add name 300 A 15.1.38.3
update add name 300 A 15.1.38.4
update add name 300 A 15.1.38.5
update add name 300 A 15.1.38.6

Of course, the exact list of addresses would change every few  
seconds. This would provide load sharing, though not fault tolerance.  
You could add a fault tolerance feature to the script through some  
other means, of course.

Chris Buxton
Men & Mice

On Mar 22, 2007, at 2:38 AM, Dmitry Rybin wrote:

> How can I configure bind 9.4 to return _only_ 1 IP address (not change
> order IP list) in Round-Robin?
>
> ---
> Dmitry Rybin
>
>



More information about the bind-users mailing list