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

Matthew Dempsky matthew at dempsky.org
Thu Jul 2 19:44:50 UTC 2009


On Thu, Jul 2, 2009 at 12:25 PM, Robert Edmonds<edmonds at isc.org> wrote:
> an ordered list is part of the way there, but i don't see any good way
> to introduce non-equal weights into the existing getaddrinfo(3)
> interface.

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?  The application then just goes through the
list trying each address in turn until one succeeds.



More information about the dns-operations mailing list