Domain/DNS A record and MX record
Posted on 2015-02-13
Seeking a little clarification please.
When configuring a domain name/DNS, mx records can be setup. E-mails to that domain name are then sent to the mx record. e.g mx1 record 220.127.116.11, when mail is sent it sees 18.104.22.168 in the mx record and then mail is forwarded to that address.
if a "mail" A record is added to the domain name of 100.100.100.100 this takes priority over the mx record so when mail is sent it first goes to 100.100.100.100 where it is then forwarded to the 22.214.171.124 from the mx record.
Is this correct? essentially the mail.domain.com is first address the mail will be sent to and the mx is used once it has arrived?
This would also mean that the mail a record and the mx record can be on different hosts/ip addresses.
Many thanks for your help.
Hope this makes sense!!