Define MX and TXT records on DigitalOcean or Network Solutions?

Posted July 5, 2013 19.2k views
I have a droplet on Digital Ocean for my web site, but I got my domain name from Network Solutions. So I have registered Digital Ocean's name servers on Network Solutions. But I'm using gmail for email for my web site. To get it to work I need to create MX and TXT records. Should these be created on Digital Ocean, Network Solutions, or both?
1 comment

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
10 answers
Since your domain is using DigitalOcean's name servers, you should create the records from DigitalOcean's control panel. Creating them for Network Solutions' nameservers won't do anything.
I have the MX records setup correctly on Digital Ocean, but not sure about the CNAME and TXT. Are these correct?

CNAME mail
TXT @ v=spf1 ~all

Anything else I need to setup for gmail? I'm not getting emails.
Those values look correct to me when I double-checked them with Google. As for setting up Google Apps, I don't personally have any experience doing so. Try making sure that you follow their steps for Gmail.
One thing I'm wondering is the CNAME:


The "name" is mail is that correct?

Thanks very much for your replies.
Yes, that's correct if you want your Gmail to be accessible from, as stated here:
RE: TXT @ v=spf1 ~all


You need to wrap quotation marks around TXT Records in DOs DNS Manager, i.e.

TXT @ "v=spf1 ~all"
I use gmail for my domain myself.

There is no need to add cname or txt records, just mx records which are automatically added by DO anyway.
Frankly i dont even know what TXT records are for. I just went to the DNS settings under the control panel and under MX records,.clicked on 'add google mx records' and that was it.
Ok small update. I just added TXT records, seems like it is useful for Spam prevention.

So use quotes for the line "v= spf1 " else DO doesnt parse it properly.
TXT records are indeed useful for spam (and spoofing) prevention. Check out: How to use an SPF Record to Prevent Spoofing & Improve E-mail Reliability
by Pablo Carranza
A carefully tailored SPF record will reduce the likelihood of your domain name getting fraudulently spoofed and keep your messages from getting flagged as spam before they reach your recipients.