Crown Street, Wollongong, 2500

What is a Google MX Record and How Do You Set It Up?

Melody Jaimon • Oct 28, 2022

Google MX records provide a way to direct Google and other search engines to your mail server. Without these records, mail from your domain is often rejected as spam or sent to the spam folder. This is because other email servers won’t accept email from your domain if they don’t have an MX record pointing to it.


Moreover, setting up Google MX records also helps you from gaining the reputation of being a spammer. For this reason, establishing this record is essential for anyone who uses Gmail or any other Google account for their business or personal account.



What Exactly Is an MX Record?

MX stands for Mail eXchange. It’s a DNS record that tells email servers where to send messages for your domain. In other words, it’s used to route emails destined for your domain.


There can be multiple MX records for a single domain. This is because you may have more than one mail server handling email for your domain. Each mail server will have its own MX record. The records will be given a priority number so that email servers know which server to try first, second, third, and so on.


If one mail server is down, the email will be routed to the next available mail server according to the MX record priorities.


Different MX Record Values

There are different values that can be used for MX records. The most common values are:

Priority Time to Live (TTL) Value / Answer / Destination
1 3600 aspmx.l.google.com
5 3600 alt1.aspmx.l.google.com
5 3600 alt2.aspmx.l.google.com
10 3600 alt3.aspmx.l.google.com
10 3600 alt4.aspmx.l.google.com
  • Priority: This is the priority of the mail server. A lower number indicates a higher priority. For example, a mail server with a priority of 1 is tried before a mail server with a priority of 10.


  • Value: This is the hostname of the mail server.


  • TTL: This is the time-to-live value. It tells DNS servers how long they should cache the MX record. The TTL value is set in seconds.


The above values are just some of the most common ones. There are other values that can be used as well, but these are the most important ones.



How to Add Gmail MX Records to a New Domain

If you're setting up a new domain, you'll need to add Google's MX records to your DNS settings. This process is different for each domain registrar, but the steps are generally similar.


Step 1: Sign in to your domain host account

Log in to your account with your domain registrar. Locate the DNS management page. This is sometimes called "DNS Settings," "DNS Management" or something similar. Add the MX records provided by Google to your DNS settings. 

adding an MX record

Step 2: Add the MX record to your DNS settings

Copy the MX records provided by Google.

adding the MX record

Add the MX records one by one, ensuring that each record has its own unique priority number. 


The priority numbers tell Gmail which MX record to attempt first if there are multiple records with the same hostname.


And that's it! You've successfully added Google's MX records to your new domain.



Step 3: Verify that the MX records were added correctly

After you've added the MX records, wait a few hours for the changes to propagate across the internet. It will take up to 48 hours for the MX records to be fully propagated.



Email Authentication

Email authentication is a method of verifying that an email message is really from the sender. It's important to set up email authentication for your domain because it helps prevent your emails from being marked as spam.


There are two main types of email authentication: SPF and DKIM.


  • SPF (Sender Policy Framework) is an email authentication method that identifies which mail servers are allowed to send emails on behalf of your domain. 



You can set up both SPF and DKIM for your domain in order to fully authenticate your emails.



Final Thoughts

Google MX Records are important for routing emails destined for your domain. There can be multiple MX records for a single domain, each with its own priority number. You'll also need to set up SPF and DKIM for email authentication.


If you have any questions, please feel free to leave a comment below.

See How Our Agency Can Drive Massive Amounts of Traffic to Your Website

Website Design designed for your audience and to be found on Google Searches
SEO - unlock relevant and increased SEO traffic. 

Paid Media - effective paid strategies with a clear ROI.

Get Started

Love My Online Marketing has 10+ Years of working alongside businesses and helping them grow. Discuss your options for online success from website Design and Development through to Google Marketing. Book a Free 20min Discovery Call.

Book A Discovery Call

Do you want more traffic and business leads?

Love My Online Marketing is determined to make a business grow. Our only question is, will it be yours?

Let's Chat
Blue Facebook logo
By Melody Jaimon 07 May, 2024
This article will provide you with clear instructions on how to give access to a Facebook page without sharing your password by adding an admin.
Google My Business zoomed in by magnifying glass
By Melody Jaimon 28 Mar, 2024
Learn how to add a digital marketing agency to Google My Business in this quick step-by-step guide with photos.
logo of Meta and a person looking at the phone
By Melody Jaimon 27 Mar, 2024
Discover the secrets of adding a digital marketing agency to Facebook Ads Manager with this comprehensive step-by-step guide, featuring helpful photos to guide you along the way. Say goodbye to confusion and hello to success with this must-read tutorial.
smartphone apps with notifications
By Melody Jaimon 18 Mar, 2024
Find out the best times to post on popular social media channels so that you can reach more of your audience. Among those covered are Facebook and Instagram.
A person is holding a cell phone in their hand showing the Facebook Messenger and Instagram icons
By Melody Jaimon 13 Feb, 2024
This article explains why and how to set up auto-replies on Facebook Messenger and Instagram.
man typing on a keyboard
By Melody Jaimon 08 Feb, 2024
Animation not only adds visual appeal but it also enhances user experience and engagement. Read this blog to find out how animation contributes to the success of a web design.
woman typing on a keyboard
By Melody Jaimon 06 Feb, 2024
Enhance your online presence effortlessly with a perfect mix of SEO and web design techniques. Read here to explore practical tips to boost visibility and climb the search engine rankings.
a man clicking on domain on an augmented reality UI
By Melody Jaimon 01 Feb, 2024
Have you been given access to your domain by your agency? Learn how to manage your domain access in this blog post.
man working on a laptop
By Melody Jaimon 15 Jan, 2024
Learn the latest Google Business Profile updates affecting website creation - essential insights for online business owners.
modern web designing
By Melody Jaimon 22 Dec, 2023
Microinteractions are subtle yet powerful in enhancing user experience. Learn their role in modern web design to elevate your online presence and boost customer engagement.
More Posts
Share by: