Troubleshoot MX records
After you configure your domain's MX records to direct mailflow to Google mail servers, you can check the status of your change and investigate any potential problems with your new settings. If you configured your MX records but mail isn't yet flowing to your users' Gmail accounts, use the tools below to see if your changes have gone live, and if so, to verify you made the changes correctly.
Remember that it can take up to 72 hours for DNS changes to go into effect, depending on the record's TTL value when you made the change. What is the TTL?
If you're having trouble receiving mail, complete the steps at I'm not receiving mail to test your configuration from end to end.
View the currently configured MX records for your primary domain in your Google Admin console:
Use the CheckMX tool in the Google Apps Toolbox to see if there are any potential problems with your DNS record configuration that might be affecting mail delivery to your domain.
- Enter your domain name in Google Apps Toolbox CheckMX tool:
To see results for a sample domain configured to use Google Apps, enter: positivetip.org.
- Submit the form.
- Verify the results. A message of "No problems were found" indicates you've correctly configured your domain's MX records for Google Apps.
This assumes a basic setup rather than dual delivery or any other advanced delivery options. Use of advanced delivery options results in warnings that should correspond to your configuration. For instance, a dual delivery setup will produce a warning of "dual delivery detected."
- If CheckMX encounters any misconfiguration, it presents a linked error indicating "There were some critical problems detected with this domain." Click the link to see the list of issues, which are flagged yellow or red depending on severity and linked to a related Help Center article for resolution. Visit those articles to fix the issue.
nslookup comes with most operating systems and can be used to look up name server details from your Windows, Mac, or Linux command line.
- To start the command line in Windows, Click Start > Run, enter "cmd" and press enter.
On Mac or Linux, start the terminal.
- Enter the following command (substituting in your actual domain name):
nslookup -q=mx yourdomain.com
- Interpret the output as we do in our example, spottedfig.org:
nslookup -q=mx spottedfig.org
Will return results matching the list on the MX record values page:
The relevant part of this output comes after the first two lines starting with "Non-authoritative answer." This tells us that spottedfig.org has five MX records configured. Specifically:
spottedfig.org mail exchanger = 1 ASPMX.L.GOOGLE.COM.
spottedfig.org mail exchanger = 5 ALT1.ASPMX.L.GOOGLE.COM.
spottedfig.org mail exchanger = 5 ALT2.ASPMX.L.GOOGLE.COM.
spottedfig.org mail exchanger = 10 ALT3.ASPMX.L.GOOGLE.COM.
spottedfig.org mail exchanger = 10 ALT4.ASPMX.L.GOOGLE.COM.
- Email messages will be delivered first to ASPMX.L.GOOGLE.COM., which has the highest priority as it has the lowest number with priority 1.
- If messages can’t be delivered to this server, email messages will be delivered to the servers with the second-highest priority level, which is ALT1.ASPMX.L.GOOGLE.COM. or ALT2.ASPMX.L.GOOGLE.COM., both of which have priority of 5.
- If messages can’t be delivered to these servers, email messages will be delivered to the servers with the third-highest priority level, which is ALT3.ASPMX.L.GOOGLE.COM. or ALT4.ASPMX.L.GOOGLE.COM., both of which have priority of 10.
- Optionally, examine the first two lines of the
nslookupoutput and ensure the IP address shown (in this case, 188.8.131.52) represents your desired name server.. You may have configured a different name server depending on your ISP or custom configuration. You can choose to append
nslookupcommand to force use of the Google Public DNS resolution service:
nslookup -q=mx spottedfig.org 184.108.40.206
Still need help? Contact your domain host for more assistance. For help telling your host exactly what you need, see What should I tell my domain host?