Can SRV records get returned in order?

Scott Moseman scmoseman at gmail.com
Thu Apr 5 16:20:21 UTC 2007


We are using rrset-order and sortlist under 9.3.0 to have our A
records returned in a specified order.  I have been asked to try and
have the SRV records returning in a specified order, since the dig
queries appear to have them returned in round robin order.  Can this
be done?  Or does the fact the SRV records have priority and weight
settings nullify the need to have them returned in a specific order?
If the priority and weight are the determining factors, why do they
get returned to the client in a robin robin fashion?  Is it safe to
assume that the client is *suppose* to collect all of the returned SRV
records (not just the first one) and do the determination of which
host to contact on their own?  I'm trying to make sure I understand
what's to be expected with SRV records so I know that my DNS is
working okay.

Thanks,
Scott



More information about the bind-users mailing list