I'm sure this is a beginner question, but I could use some help.
I run a VPS and am familiarizing myself with DNS settings and my mailing set up. I began when one email address consistently ended up in the spam folder. I have looked up all major results from tools, and have only a few beginner questions.
My VPS has two name servers, about 6 IP addresses, and multiple sub-accounts. I’m running WHM/cPanel.
My first question is related to MX Records.
For my MX Record, I have listed domain.com for one cPanel account. However, under my mail configuration settings my incoming/outgoing settings list mail.domain.com as the incoming/outgoing server. My question is, should my MX Record and my mail server address be the same, and is it okay for the MX record to be domain.com with no sub-domain?
In my DNS Zone File I have the following (in a different order):
- domain.com. 14400 IN MX 0 domain.com.
- mail 3600 IN CNAME domain.com.
- www 3600 IN CNAME domain.com.
- webmail 3600 IN A primary_ip_address.
My understanding is that my current MX entry and sub-domain being listed as the mail server is okay, since I have a CNAME record pointing to domain.com. Is this correct?
Other questions:
- Should I have multiple MX records for domain.com and mail.domain.com?
- Should I have a second MX record associated with a second domain(to reduce a single point of failure?)
- I have a www CNAME for the domain, a DNS testing tool said this slows the server?
I have other questions but I’ll stop there for now.