Crown Street, Wollongong, 2500

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. 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
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.
A woman is holding a camera on a tripod and talking into it.
By Melody Jaimon March 19, 2025
Social media is unpredictable. A website gives influencers control, stability, and new income opportunities. Find out why every content creator needs one.
Two people are pointing at a laptop screen.
By Melody Jaimon March 18, 2025
Plagiarism can harm your SEO and brand reputation. Learn its risks in search marketing and how to stay original using best practices and AI tools. Read more.
A woman is covering her face while using a laptop computer.
By Melody Jaimon March 14, 2025
WordPress vulnerabilities cost businesses time and money. After a hack, we found a better solution—learn why a more secure platform could be the best move for you.
a woman ready to conquer the world
By Melody Jaimon March 12, 2025
Love My Online Marketing shares some of the best and most popular inspiring business quotes for entrepreneurs, with quotes from prominent figures such as Ernest Hemingway, Thomas Edison, and Bruce Lee.
More Posts
Share by: