Skip to main content
All CollectionsEmailGoogle Workspace
How to set up a domain for Google Workspace Email
How to set up a domain for Google Workspace Email

DNS records required to connect a domain with Google Workspace Email

Updated over a year ago

To use Google Workspace email with your domain, you need to configure specific DNS records in your domain's DNS zone. This guide will provide you with all the information to ensure your email service is set up correctly.

Step 1 – Preparations

Before setting up your DNS records, follow these steps:

  1. Identify where your DNS zone is managed:

    1. If your domain is pointing to Hostinger by nameservers, refer to this guide: How to manage DNS records.

    2. If your domain is pointing elsewhere, update your DNS records on the platform where your domain is managed.

  2. Remove any existing MX, SPF, DKIM, and DMARC records that point to other email services. Conflicting records can cause delivery issues.

  3. Optional: Split email delivery. If you want to use both Hostinger Email and Google Workspace for the same domain, you can sett up split email delivery.

Incorrectly configured DNS records, especially when multiple email services are involved, can lead to routing issues, preventing email delivery or receipt.

Step 2 – Add MX records

MX (Mail Exchange) records route your email to Google Workspace servers. The required values depend on when you signed up for Google Workspace.

  • Before April 2023, use the following values:

Priority

Host

Value (Mail server)

TTL

1

@

aspmx.l.google.com

3600

5

@

alt1.aspmx.l.google.com

3600

5

@

alt2.aspmx.l.google.com

3600

10

@

alt3.aspmx.l.google.com

3600

10

@

alt4.aspmx.l.google.com

3600

  • After April 2023, only add this MX record:

Priority

Host

Value (Mail server)

TTL

1

@

smtp.google.com

3600

For more details, refer to Google Workspace MX record values.

Step 3 – Add SPF record

SPF (Sender Policy Framework) records help verify that emails sent from your domain are legitimate. Add the following TXT record:

Type

Host

Value (target)

TTL

TXT

@

v=spf1 include:_spf.google.com ~all

3600

You can find more information in this article: Set up SPF - Google Workspace.

Step 4 – Add DKIM and DMARC records

To improve email security and reduce spam, it is strongly recommended to configure DKIM (DomainKeys Identified Mail) and DMARC (Domain-based Message Authentication, Reporting, and Conformance) records.

After making these changes, allow a few hours for DNS propagation. Once completed, your Google Workspace email will function seamlessly.

Did this answer your question?