Google Workspace MX and CNAME records
Here are the values to use in your domain's DNS settings to configure MX records for Google Apps. Each record points to a Google mail server. Note important details below about setting mail server Priorities.
You enter these values at your domain host, not in your Google Admin console. Note that some hosts use different labels for the name and value fields, and many domain hosts also require a trailing period at the end of the server name.
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 Priority column shows the relative priorities of the Google mail servers. Mail is delivered to the server with the highest priority first. If for some reason that server isn't available, mail is delivered to the server with the next highest priority, and so on through all your the servers. 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.
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) forASPMX.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.
Example DNS configuration
Here are sample DNS settings for a domain used with Google enterprise services.
Note that you don't use the actual domain name in your DNS settings. Instead, you use the @ symbol to indicate the domain name.
Name / Host / Alias | Record Type | Priority | Value / Answer / Destination |
---|---|---|---|
Blank or @ | MX | 1 | ASPMX.L.GOOGLE.COM. |
Blank or @ | MX | 5 | ALT1.ASPMX.L.GOOGLE.COM. |
Blank or @ | MX | 5 | ALT2.ASPMX.L.GOOGLE.COM. |
Blank or @ | MX | 10 | ASPMX2.GOOGLEMAIL.COM. |
Blank or @ | MX | 10 | ASPMX3.GOOGLEMAIL.COM. |
CNAME | NA | ghs.googlehosted.com. | |
Blank or @ | TXT | NA | google-site-verification=6tTalLzrBXBO4Gy9700TAbpg2QTKzGYEuZ_Ls69jle8 |
Blank or @ | TXT | NA | v=spf1 include:_spf.google.com ~all |