THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#120 - DNS SRV balancing doesn't work
User who did this - Andrei Pelinescu-Onciul (andrei)
----------
It's not a bug, try a non-zero weight and it should work as expected.
0 weights are a special case (the order is not exactly defined in this case and according
to the algorithm from rfc2782 if all records have 0 weights, the first will be always
selected).
RFC2782 Page 3-4:
Weight
....
<code>
Domain administrators SHOULD use Weight 0 when there isn't any server
selection to do, to make the RR easier to read for humans (less
noisy).
</code>
....
<code>
The following
algorithm SHOULD be used to order the SRV RRs of the same
priority:
To select a target to be contacted next, arrange all SRV RRs
(that have not been ordered yet) in any order, except that all
those with weight 0 are placed at the beginning of the list.
Compute the sum of the weights of those RRs, and with each RR
associate the running sum in the selected order. Then choose a
uniform random number between 0 and the sum computed
(inclusive), and select the RR whose running sum value is the
first in the selected order which is greater than or equal to
the random number selected. The target host specified in the
selected SRV RR is the next one to be contacted by the client.
</code>
....
----------
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=120#comment1…
You are receiving this message because you have requested it from the Flyspray bugtracking
system. If you did not expect this message or don't want to receive mails in future,
you can change your notification settings at the URL shown above.