Resmi.ID DomainAn official name for your business

Setting up Google Workspace email: MX, SPF, and DKIM

Business emailUpdated 31 October 2026 · 2 min read

The DNS records to add so @yourdomain email on Google Workspace can receive and send reliably.

After subscribing to Google Workspace, your domain needs a few DNS records: MX so email arrives at Google, and SPF and DKIM so the email you send isn't treated as spam.

Quickest way: use the preset

In the client area, open My Domains → choose the domain → Manage DNS, then pick the Google Workspace preset. The required records are created as drafts for you to review before saving.

If you prefer to add them yourself

TypeNameValue
MX@smtp.google.com (priority 1)
TXT@v=spf1 include:_spf.google.com ~all
TXTgoogle._domainkeyDKIM value from Google Admin
Only one SPF record. If the domain already has a TXT record starting with v=spf1, merge them into one — two SPF records make both invalid.

Turning on DKIM

  1. In Google Admin, open the Authenticate email settings for Gmail.
  2. Generate a DKIM key for your domain, then copy the TXT record's name and value.
  3. Add that record in Manage DNS, wait a moment, then click Start authentication in Google Admin.
Using Microsoft 365? There is a Microsoft 365 preset on the same page. Its record values are also shown in the Microsoft 365 admin center.

Related guides

DNSPointing a domain to hosting: nameservers or an A record? Domains.com, .id, .co.id, and .my.id — which one fits? DomainsDocuments required for a .co.id domain
All guides