round-robin on bind9.2.1

Steven Job list3 at wwwcrazy.com
Sun Feb 20 18:33:17 UTC 2005


Quoting "Boyack, Kurt" <Kurt.Boyack at pyxis.com>:

> Rrset-order was introduced in 8.2 and dropped with 9.1, but it is not =
> needed to do round-robin; it is used to turn round-robin off.
>

Here is the exact quote from the Bind 9.3 documentation.


6.2.16.14. RRset Ordering
When multiple records are returned in an answer it may be useful to configure
the order of the records placed into the response. The rrset-order statement
permits configuration of the ordering of the records in a multiple record
response. See also the sortlist statement, Section 6.2.16.13.

An order_spec is defined as follows:

[ class class_name ][ type type_name ][ name "domain_name"]
      order ordering

If no class is specified, the default is ANY. If no type is specified, the
default is ANY. If no name is specified, the default is "*".

The legal values for ordering are:


fixed
 Records are returned in the order they are defined in the zone file.

random
 Records are returned in some random order.

cyclic
 Records are returned in a round-robin order.



For example:

rrset-order {
   class IN type A name "host.example.com" order random;
   order cyclic;
};

will cause any responses for type A records in class IN that have
"host.example.com" as a suffix, to always be returned in random order. All
other records are returned in cyclic order.

If multiple rrset-order statements appear, they are not combined — the last one
applies.

Note: The rrset-order statement is not yet fully implemented in BIND 9. BIND 9
currently does not support "fixed" ordering.

---------------------------------------

Regards,
-Steve



More information about the bind-users mailing list