How to Set Up a Domain for Google Workspace Email at Hostinger

DNS records required to connect a domain with Google Workspace Email

Updated 1 month 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.

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

Step 2 – Add MX record

MX (Mail Exchange) records route your email to Google Workspace servers. The required value for Google Workspace is the following:

Priority

Host

Value (Mail server)

TTL

1

@

smtp.google.com

3600

 

Google Workspace accounts created before 2023 might already have several different MX record values, similar to these: aspmx.l.google.com. Those are valid legacy records; if email is working, no changes are required. Any account can use the single MX record value, regardless if it was created before or after 2023. 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.