Mail Exchanger records are called as MX records, which is used to point the email messages to a particular mail server. As the name suggest that this defines the route of the mail from internet to mail server.
MX records are added on the domain name system (DNS), so that the incoming mails to that particular domain is routed to the hosted mail server for that domain.
Have you ever been in a problem, where you set up a new domain, set up G suite (Previously known as Google apps) and then also you are not getting any mails in your gmail inbox?
Yes!! That is happening because you have not pointed you domain incoming mails to your mailbox server. If you have more than one mail server for your domain, you can also prioritise your mail architecture.
For changing/updating the MX records, You need to go to your DNS entry of your domain
Set Up MX Records
- Login to your domain registrar account.
- Go to DNS setting(or advance DNS settings) where you see the MX records.
- Delete the Previous/default MX records
- Update the new MX records, If you are updating the MX records for google, Update the below entries in your MX records.
Record Type Priority Host Answer TTL MX 5 Blank or @ ASPMX.L.GOOGLE.COM 3600 MX 10 Blank or @ ALT1.ASPMX.L.GOOGLE.COM 3600 MX 10 Blank or @ ALT2.ASPMX.L.GOOGLE.COM 3600 MX 20 Blank or @ ALT3.ASPMX.L.GOOGLE.COM 3600 MX 20 Blank or @ ALT4.ASPMX.L.GOOGLE.COM 3600
- Click on Save changes.
- Now all incoming mails for your domain will be redirected to these pointed MX serveres(in this case Google Servers).
NOTE: If you have more than one mail servers, you can put both mail server destinations/answers and then prioritise it with priority column.
After Updating the MX records, you can check the MX records of your domain here, if its correctly updated or not. Just Put your domain name and hit search, it will show the current MX records for your domain.
Now all the mails sends to your domain will be delivered to your users, Now if you are sending mail to some of your client or some external domain users and it’s gets failed, then what could be the reason.