Not able to create MX records

1,746 views
Skip to first unread message

Raja Malik

unread,
Feb 19, 2016, 1:14:55 PM2/19/16
to cloud-dns-discuss
Hello All,

I use mailgun.com as a thirdparty to send mails. When configuring cloud DNS for verification of my domian. I tried to create MX records which were not getting created. Can you please tell me why I am getting "Invalid record data."

Ben Vitale

unread,
Feb 19, 2016, 3:48:52 PM2/19/16
to cloud-dns-discuss, Raja Malik
Try enclosing the entire value of the TXT record in double quotes. Something like:

 "v=spf1 include:mailgun.org ~all"

also see attached screenshot.
cloud-dns-spf-quotes.jpg

Raja Malik

unread,
Feb 21, 2016, 1:08:43 PM2/21/16
to cloud-dns-discuss, Raja Malik
Thanks Ben. Your advice worked. But...
This post was about MX record not TXT record...

Do you have any suggestion for MX records?
When ever I save MX records, it gives me "Invalid Record Data error".

Please help.

Raja Malik

unread,
Feb 23, 2016, 3:47:23 AM2/23/16
to cloud-dns-discuss, Raja Malik
On Friday, February 19, 2016 at 11:44:55 PM UTC+5:30, rajama...@gmail.com wrote:
> Hello All,
>
> I use mailgun.com as a thirdparty to send mails. When configuring cloud DNS for verification of my domian. I tried to create MX records which were not getting created. Can you please tell me why I am getting "Invalid record data."

Here is how it will work.

In google cloud > Networking > Cloud DNS

Create MX Record

In value, type the value in the format:

<priority> <domain>

like:

10 mxa.mailgun.org

For adding another one, just add one more item and enter the value again

Save the record and wait for the changes to propogate. It should work.

:)

Ben Vitale

unread,
Feb 23, 2016, 6:09:24 PM2/23/16
to cloud-dns-discuss, Raja Malik
I checked your zone and I see that you have successfully created two MX records. Let me know if it is working for you.

I see that in another project, you have another copy of the zone. You may want to delete that one to reduce the potential for confusion, or just take care (as you already have) to update the correct one that is actually delegated from the registrar.

Raja Malik

unread,
Feb 23, 2016, 9:24:48 PM2/23/16
to Ben Vitale, cloud-dns-discuss
Thanks for the confirmation. Which other project you are talking about? I only have one project. 

-Raja
--
Thanks
Raja Malik

Reply all
Reply to author
Forward
0 new messages