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

Melody Jaimon • October 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.

Get in Touch

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
A notebook with the words call to action written on it
By Melody Jaimon April 8, 2025
Effective CTAs guide users through your site and drive action. Learn best practices for creating clear, visible, and persuasive CTAs that actually convert.
A woman is stacking coins on top of each other on a table.
By Melody Jaimon April 8, 2025
In 2025, pro websites in Australia range from $3.5K to $10K+. Learn what you’re paying for, and how to avoid undercutting your business goals.
A person is holding a cell phone with a collage of pictures on it.
By Melody Jaimon April 8, 2025
Posting regularly but still getting low reach? Instagram's rules have changed. Learn what’s hurting your posts — and how to fix it fast. Read the full blog.
A person is holding a cell phone in their hand with social media icons coming out of it.
By Melody Jaimon April 8, 2025
Integrating social media with your website boosts traffic and SEO. Learn smart ways to align both for better visibility and engagement. Read the full blog.
A woman is looking at a laptop with a Google logo on the screen.
By Melody Jaimon March 31, 2025
Boost local visibility with 11 expert tips for Google Business Profile (formerly GMB) optimisation. Learn how to rank higher and attract more customers.
A desk with a computer , laptop , tablet and phone on it.
By Melody Jaimon March 31, 2025
Learn how to create visually appealing websites in Australia that balance creativity and functionality. Explore tips to keep designs simple yet effective. Read more.
A group of people are sitting on a couch looking at their phones and laptops.
By Melody Jaimon March 29, 2025
Learn how to grow from zero on social media in 2025 using Viplikes’ tips on content, trends, and smart promotion tools. Read more to level up your game.
Businessman using a laptop with floating digital marketing icons
By Melody Jaimon March 28, 2025
Learn the key types of digital marketing, their benefits, and the best practices for 2025. Find the right strategy to grow your business online.
The word design is on a piece of paper on a table.
By Melody Jaimon March 25, 2025
Stay ahead with the latest 2025 web design trends. Get expert tips and learn how to make your site stand out. Read more now.
The word seo is written on scrabble tiles on a wooden table.
By Melody Jaimon March 20, 2025
Over 56% of Oscars-related content was blocked due to keyword filters, limiting brand reach. Learn how excessive blocklists impact marketing campaigns.
More Posts