Here are the values to use in your domain's DNS settings to configure MX records for Gmail with Google Workspace. Each record points to a Google mail server. For more information on MX records, see Activate Gmail for Google Workspace.
You enter these values at your domain host, not in your Google Admin console. Make sure you follow the specific instructions for your domain host when entering these record values.
Note: Some domain hosts use different labels for the name and value fields and some hosts also require a period at the end of the server name.
For example: ASPMX.L.GOOGLE.COM.
|Name/Host/Alias||Time to Live (TTL*)||Record Type||Priority||Value/Answer/Destination|
|Blank or @||3600||MX||1||ASPMX.L.GOOGLE.COM|
|Blank or @||3600||MX||5||ALT1.ASPMX.L.GOOGLE.COM|
|Blank or @||3600||MX||5||ALT2.ASPMX.L.GOOGLE.COM|
|Blank or @||3600||MX||10||ALT3.ASPMX.L.GOOGLE.COM|
|Blank or @||3600||MX||10||ALT4.ASPMX.L.GOOGLE.COM|
* The TTL is the number of seconds before subsequent changes to the MX record go into effect. When the MX records are configured correctly, we recommend changing the TTL value from 3600 to 86400, which tells servers across the Internet to check every 24 hours for updates to the MX record instead of every hour. Learn more
The Priority column shows the relative priorities of the Google mail servers. Mail is delivered to the server with the highest priority first. A lower number has higher priority: for example '1' has higher priority than '10'. If for some reason a server isn't available, mail is delivered to the server with the next highest priority, and so on down the list. Priority values don't have to be exactly like those shown in the table. And in fact, different domain hosts have different systems for setting MX record priority.
Important: Regardless of your domain host's system for indicating priority, ASPMX.L.GOOGLE.COM must be the top priority record.
If your domain host assigns priorities using numbers, choose the lowest number (highest priority) for ASPMX.L.GOOGLE.COM, as shown in the table above. If your host uses some other method for assigning priority, follow that method to designate ASPMX.L.GOOGLE.COM as the primary server. If your host allows only one MX record or doesn't allow ranking, enter ASPMX.L.GOOGLE.COM as the only MX record.