Round-robin

Matus UHLAR - fantomas uhlar at fantomas.sk
Wed Jan 24 11:49:21 UTC 2018


>On Wed, Jan 24, 2018 at 4:37 PM, gsi <g.sipp at orange.com> wrote:
>> When I request www, I got random answers (10.1.1.1 or 10.1.1.2)
>> If I use the sortlist option, I always got the same answer.
>>
>> My question : how can I have cyclic answers :
>>         request www --> reply 10.1.1.1
>>         request www --> reply 10.1.1.2
>>         request www --> reply 10.1.1.1
>>         request www --> reply 10.1.1.2

On 24.01.18 16:45, Nagesh Thati wrote:
>You can use BIND's RRSET Order for this,
>http://www.zytrax.com/books/dns/ch7/queries.html#rrset-order

I think that the order is global, not per-client. This way, two clients
asking repeatedly could get still the same answer.

Also note that intermediate servers may change the order (although they
should not).  I even encountered case where resolver library (libnss_lwres
IIRC) ordered the list and still provided in the same order.

-- 
Matus UHLAR - fantomas, uhlar at fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Your mouse has moved. Windows NT will now restart for changes to take
to take effect. [OK]


More information about the bind-users mailing list