Question: how mx record priority works?
Answer: A most important point of puzzlement is how the priority system works for MX selection. The relative priority of an MX server is strong-minded by the preference number present in the DNS MX record. When a remote client does an MX lookup for the domain name, it gets a list of servers and their first choice numbers.