by sudonim · 13y ago · 0 comments
I can't speak for all DNS servers but BIND will return them in a different order each time it answers an query.
For example, the first query returns "mx1, mx2, mx3"; next query returns "mx2, mx3, ms1"; next query returns "mx3, mx1, mx2". Many resolvers seem to simply use the first one so it's roughly equivalent to round robin load balancing.
The reason for this behaviour would be that you would normally use this for load balancing.
You can normally get the same behaviour by setting one MX record to a local A record (mail.example.com), and then serving several IPs for that A record in a round-robin/random fashion.