Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Configuring GSuite to work with route 53 - "MX record doesn't have 2 fields" error

I'm doing my best to follow GSuite's out of date instructions for routing emails to Gmail via a AWS Route 53 hosted zone (i.e. domain). Here are the outdated instructions:

enter image description here

I set the Values as instructed:

enter image description here

And I see:

Error occurred
Bad request.
(InvalidChangeBatch 400: MXRRDATANotTwoFields (MX record doesn't have 2 fields) encountered with '')

enter image description here

So it will not allow me to create the records.

like image 615
stevec Avatar asked Aug 29 '20 09:08

stevec


2 Answers

I had this problem with the new AWS console, but it turns out the problem was me. I had not read the instructions carefully enough.

There needed to be a numeric value (not explained) before the domain name or ip address in the value input. When I added the number, this worked for me in the new console.

enter image description here

like image 52
Coyo Avatar answered Sep 16 '22 11:09

Coyo


I was able to reproduce this exact scenario when I used the new AWS Route 53 interface.

To resolve it I selected the use the old console. link from the top.

enter image description here

I then pasted the values below and it worked.

1 aspmx.l.google.com.
5 alt1.aspmx.l.google.com.
5 alt2.aspmx.l.google.com.
10 alt3.aspmx.l.google.com.
10 alt4.aspmx.l.google.com.

For now use the old console for doing this would be my suggestion.

like image 25
Chris Williams Avatar answered Sep 20 '22 11:09

Chris Williams