Google Workspace + Amazon Route 53
Set up Google Workspace email on Amazon Route 53
The records Google Workspace needs, written with the field names Amazon Route 53 uses (Record name, Value), in the order to add them.
- 5 steps
- 5 DNS records
- Sources checked October 21, 2026
Before you start
- Have your Google Workspace account ready. Some values are unique to your account and come from the Google Admin console.
- Open DNS at Amazon Route 53: Open the Route 53 console and select Registered domains, then your domain. Select Manage DNS, then the hosted zone for your domain. If no hosted zone exists, create one first.
- Keep both tabs open and add the records below one at a time.
Records to add
Copy each value with the button next to it. Rows marked “Copy from Google Admin console” are unique to your account.
| Record | Type | Record name | Value | Priority | TTL | |||||
|---|---|---|---|---|---|---|---|---|---|---|
| Domain verification Proves you own the domain | Type | TXT | Record name | Leave empty | Value | Copy from Google Admin console Looks like: google-site-verification= followed by your unique code | Priority | n/a | TTL | Default |
| MX records Where incoming email goes | Type | MX | Record name | Leave empty | Value | 1 smtp.google.com | Priority | in the value | TTL | Default |
| SPF record Which servers may send as you | Type | TXT | Record name | Leave empty | Value | "v=spf1 include:_spf.google.com ~all" | Priority | n/a | TTL | Default |
| DKIM A signature on every message | Type | TXT | Record name | google._domainkey | Value | Copy from Google Admin console | Priority | n/a | TTL | Default |
| DMARC record What to do with fakes · recommended | Type | TXT | Record name | _dmarc | Value | "v=DMARC1; p=none; rua=mailto:dmarc@yourdomain.com" | Priority | n/a | TTL | Default |
Step by step in Amazon Route 53
Verify your domain
Your email provider needs proof that you control this domain before it accepts email for it.
- Type
- TXT
- Record name
- Leave this field empty
- Value
- Copy it from Google Admin console (see below)
Where to find your value
In the Google Admin console go to Menu > Account > Domains > Manage domains, click Verify domain, then Get started. In the TXT record section, copy the Value, including google-site-verification=.
It looks like: google-site-verification= followed by your unique code
- Leave the host blank or enter @.
- Once Google has verified the domain, this TXT record can be safely removed. Removing it earlier makes verification fail.
- It can take up to 72 hours for a new TXT record to be recognized.
In Amazon Route 53
- Select Create record.
- Enter the Record name (leave it empty for your bare domain) and choose TXT.
- In Value, enter the text inside double quotes. If you already have a TXT record on that name, add the new value as another line in the same record.
- Select Create records.
Point your MX records
MX records tell every other mail server where to deliver email for your domain. They must point to your provider and nowhere else.
- Type
- MX
- Record name
- Leave this field empty
- Value
-
1 smtp.google.com
- Remove any other MX records. Email might not work correctly if old or incorrect MX records stay in place.
- Some domain hosts need a trailing period: smtp.google.com.
- Accounts that started before 2023 may use older values beginning with aspmx. Those are still supported, so there is no need to change working records.
- For TTL, use your domain host's default.
In Amazon Route 53
- In the hosted zone, select Create record.
- Leave Record name empty, choose MX as Record type, and keep Simple routing.
- In Value, enter the priority, a space, then the mail server (for example 10 mail.example.com). Put each mail server on its own line in the same record.
- Select Create records, then delete any older MX records.
Add the SPF record
SPF is a TXT record that lists the services allowed to send email from your domain, so receivers can spot forgeries.
- Type
- TXT
- Record name
- Leave this field empty
- Value
-
"v=spf1 include:_spf.google.com ~all"
- This is the record for domains that send email only through Google Workspace.
- If other services also send email for your domain, list each one in the same record, for example: v=spf1 include:_spf.google.com include:amazonses.com ~all.
- Google recommends ~all at the end of the record.
In Amazon Route 53
- Select Create record.
- Enter the Record name (leave it empty for your bare domain) and choose TXT.
- In Value, enter the text inside double quotes. If you already have a TXT record on that name, add the new value as another line in the same record.
- Select Create records.
Set up DKIM
DKIM publishes a public key so receivers can confirm your messages really came from you and were not changed on the way.
- Type
- TXT
- Record name
-
google._domainkey - Value
- Copy it from Google Admin console (see below)
Where to find your value
In the Google Admin console go to Menu > Apps > Google Workspace > Gmail and click Authenticate email. Select your domain, generate a new record (2048-bit if your domain host supports it, otherwise 1024-bit) and copy the TXT record value.
- google is Google's default selector, so the host is google._domainkey.
- Wait 24 to 72 hours after turning on Gmail before generating the key.
- Some domain hosts limit TXT record length. If the 2048-bit key will not fit, generate a 1024-bit key instead.
- After the record is published, go back to Authenticate email and turn on authentication for the domain.
In Amazon Route 53
- Select Create record.
- Enter the Record name (leave it empty for your bare domain) and choose TXT.
- In Value, enter the text inside double quotes. If you already have a TXT record on that name, add the new value as another line in the same record.
- Select Create records.
Add the DMARC record (recommended)
DMARC tells receivers what to do with mail that fails SPF and DKIM, and where to send reports about it.
- Type
- TXT
- Record name
-
_dmarc - Value
-
"v=DMARC1; p=none; rua=mailto:dmarc@yourdomain.com"
- Start with p=none so nothing is blocked while you read the reports. Google suggests running it for about a week.
- Replace the report address with a mailbox or group you actually check. Google advises against a personal inbox.
- Then tighten gradually, for example v=DMARC1; p=quarantine; pct=5; rua=mailto:dmarc@{domain}, raising pct over time.
- Set up SPF and DKIM first. Google recommends 48 hours of authentication before turning on DMARC.
In Amazon Route 53
- Select Create record.
- Enter the Record name (leave it empty for your bare domain) and choose TXT.
- In Value, enter the text inside double quotes. If you already have a TXT record on that name, add the new value as another line in the same record.
- Select Create records.
Check your setup
Once the records are saved, run a live check. We look up your domain in public DNS and tell you what is right, missing or wrong, with the fix in Amazon Route 53’s words.
Common mistakes with Google Workspace on Amazon Route 53
Leaving old MX records in place
Google says email might not work correctly if old or incorrect MX records stay. Remove every MX record except smtp.google.com.
Adding a second SPF record
A domain must have only one SPF record. If you already have one, add include:_spf.google.com to it instead of creating another.
Generating the DKIM key too soon
Google asks you to wait 24 to 72 hours after turning on Gmail before generating the DKIM key.
Publishing DKIM but not turning it on
Adding the TXT record is only half the job. Go back to Authenticate email in the Admin console and turn on authentication.
Deleting the verification record too early
Removing the google-site-verification record before Google confirms the domain makes verification fail.
Amazon Route 53: One TXT record per name
With simple routing, Route 53 keeps all TXT values for a name in the same record, one value per line. Add SPF next to a verification value instead of creating a second TXT record.
Amazon Route 53: Split long TXT values
A single quoted string can hold up to 255 characters. Split longer values, such as DKIM keys, into quoted pieces on one line: "part one" "part two".
Rather have someone do it for you?
Tell us your domain and we will add and verify every record for Google Workspace on Amazon Route 53, then send you the check results.
Google Workspace on Amazon Route 53: questions
Where do I add Google Workspace DNS records in Amazon Route 53?
Open the Route 53 console and select Registered domains, then your domain. Select Manage DNS, then the hosted zone for your domain. If no hosted zone exists, create one first. Add each record there, one at a time.
What goes in the Record name field at Amazon Route 53?
Leave it empty for records on your bare domain, such as MX and SPF. For the others, enter only the part before your domain, for example google._domainkey. Amazon Route 53 adds your domain automatically.
Do I need to delete my existing MX records at Amazon Route 53?
Remove any other MX records. Email might not work correctly if old or incorrect MX records stay in place.
Where do I get my Google Workspace DKIM record?
In the Google Admin console go to Menu > Apps > Google Workspace > Gmail and click Authenticate email. Select your domain, generate a new record (2048-bit if your domain host supports it, otherwise 1024-bit) and copy the TXT record value.
How long until Google Workspace email works on Amazon Route 53?
New MX records can take up to 72 hours to be recognized.
Sources
Every value and step on this page comes from these official pages. Dashboards change, so if something doesn’t match what you see, tell us.
- Connect your DNS records at Amazon Web Services (AWS) to Microsoft 365 (Microsoft Learn) Checked October 21, 2026
- Recommended DMARC rollout (Google Workspace Help) Checked October 21, 2026
- RFC 7208: Sender Policy Framework (IETF) Checked October 21, 2026
- Set up DKIM (Google Workspace Help) Checked October 21, 2026
- Set up DMARC (Google Workspace Help) Checked October 21, 2026
- Set up MX records for Google Workspace (Google Workspace Help) Checked October 21, 2026
- Set up SPF (Google Workspace Help) Checked October 21, 2026
- Supported DNS record types (Amazon Route 53 Developer Guide) Checked October 21, 2026
- Verify your domain with a TXT record (Google Workspace Help) Checked October 21, 2026
Google Workspace on other hosts
- Google Workspace on Bluehost
- Google Workspace on Cloudflare
- Google Workspace on DreamHost
- Google Workspace on GoDaddy
- Google Workspace on Hostinger
- Google Workspace on IONOS
- Google Workspace on Name.com
- Google Workspace on Namecheap
- Google Workspace on Network Solutions
- Google Workspace on OVHcloud
- Google Workspace on Porkbun
- Google Workspace on SiteGround
- Google Workspace on Squarespace Domains
- Google Workspace on Wix
- Google Workspace on WordPress.com
Other email providers on Amazon Route 53
- Fastmail on Amazon Route 53
- Hostinger Email on Amazon Route 53
- iCloud+ Custom Email Domain on Amazon Route 53
- Microsoft 365 on Amazon Route 53
- Migadu on Amazon Route 53
- Namecheap Private Email on Amazon Route 53
- Proton Mail on Amazon Route 53
- Rackspace Email on Amazon Route 53
- Titan Email on Amazon Route 53
- Zoho Mail on Amazon Route 53