Score:0

Do I need to set a MX record with both my domain registrar & hosting?

br flag

I have a GoDaddy registered domain and am using the GoDaddy O365 email.

I am moving to a different host for my website, so I have changed the A record in GoDaddy's settings to point to my shared hosting IP. The nameservers are still set to GoDaddys, with all the original settings for e-mail still there too (SPF, MX records, etc)

E-mail still works, as well as the website, but whenever I try to send an e-mail out from my shared hosting (a wordpress site), the e-mail is never received to e-mails *@mydomain.com. But they are received to others, such as gmail or hotmail, but often end up in junk.

When I use an e-mail tester, I get a bunch of errors about MX record missing, SPF not authenticated, etc.

What I am worried about is, when creating this shared hosting account ( in WHM ), I did not check the box for "use dns settings from domain registrar". So now on my shared hosting account there is a DNS section with a bunch of records in it for this domain.

Should I try deleting all the records from within my hosting, so it reverts to using everything from my registrars DNS for e-mail?

joeqwerty avatar
cv flag
Why don't you contact the hosting company and ask them how to revert to using the DNS servers at the Registrar?
Score:2
cn flag

Should I try deleting all the records from within my hosting, so it reverts to using everything from my registrars DNS for e-mail?

I think you are mixing different stuff and hence creating confusion for yourself.

Let us go back to basics:

  • your domain has ONE registrar; this is the company that registered the domain following your actions and payment for it; it could have been through a reseller, and some TLDs do not have registrars and/or allow to register directly at registry, but for the sake of simplicity let us stick to the basic idea "1 domain = 1 registrar"
  • all operations on your domains have to go through your registrar as only the registrar can send commands to the registry on your behalf for your domains. Which includes things like renewing the domain or changing its nameservers
  • your domain has ONE set of nameservers; those nameservers are authoritative for your domain, they contain all resource records "under" your domain. You choose the nameservers of your domain and you can change them at any time (through your registrar)
  • you can choose ANY provider as your DNS provider and use its nameservers
  • BUT some, if not all, registrars are ALSO DNS providers! They are separate jobs, but the same entity can do both.

So the question is not who is your registrar but who is your DNS provider. Any DNS change in the content of your zone has to be one on your DNS provider, there is nothing to do on your registrar side.

Hence there is never 2 places to go to when needing to change the MX record: you do it through the UI or API of your DNS provider. Which might be your registrar, or not at all.

Your webhosting provider is also a possible third party, it is a separate job. But it can be your registrar too and/or your DNS provider. But each job is a separate responsibility.

slammedacura27 avatar
br flag
Hi Patrick, I really appreciate your detailed response. It honestly did clear up a lot of the confusion I had with dns and domains. Whats still confusing me though, is that because my shared hosting account has a bunch of DNS records tied to it upon creation, I am worried it is using these incorrect DNS records to send mail, instead of reaching out to the nameservers tied to my domain, which has the proper MX records. If that makes sense?
Patrick Mevzek avatar
cn flag
In general any sender of emails consults the DNS to find out `MX` and then `A/AAAA` records of the "email exchanger" that is the host to send the email to, based on the domain (right side part of the email address). And various `TXT` records for SPF/DKIM/DMARC stuff. That is the general rule. Now, any email sender can decide to do things differently, but then is off the standard path with unspecified results. You will need to ask directly your website provider from where you send emails to know what they do and hence what to change where.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.