[dns-operations] wrapsrv -- DNS SRV record command line wrapper

Stephane Bortzmeyer bortzmeyer at nic.fr
Thu Jul 2 20:47:32 UTC 2009

On Thu, Jul 02, 2009 at 12:44:50PM -0700,
 Matthew Dempsky <matthew at dempsky.org> wrote 
 a message of 13 lines which said:

> If you have address A with weight 2 and address B with weight 1, is
> there something wrong with just returning [A, B] 2/3 of the time and
> [B, A] 1/3 of the time? 

Not only it is not wrong, but it is also the behavior mandated by RFC
2782 ("Larger weights SHOULD be given a proportionately higher
probability of being selected."). But there are other things to take
into account such as the priority.

More information about the dns-operations mailing list