View Single Post
Old 16th July 2009, 17:03
fed fed is offline
Junior Member
Join Date: Jun 2009
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default mydns algorithm

As I know, mydns uses round robin to select the primary IP if all records have the priority 0. That means each record has the same weight.
If you change the priority to higher values, the corresponding record will have a lower weight and will be returned less.

Here's an example of how hosts were distributed on a 100,000 query test against ten hosts with aux values 10-100. The number shown is the number of times that host was listed first:

aux 10 51,211
aux 20 21,881
aux 30 10.983
aux 40 6,209
aux 50 3,661
aux 60 2,311
aux 70 1,526
aux 80 1,032
aux 90 675
aux 100 511
I will temporary change the values manually and add a CR.

Reply With Quote