I did read the canonical Q&A on meta (thank you for the pointer there). I still have a basic question about my DNS plan as I move my sites from shared hosting to a cloud server that gives me a little more knobs/dials.
Here's what I am doing - I would appreciate any critique.
I set up a DNS at AWS Route 53, using a shared delegation set.
For each site, I have a hosted zone within that delegation set that looks like this:
foo.com A 22.214.171.124 mail.foo.com A 126.96.36.199 foo.com MX 10 foo.com foo.com NS <list of my four AWS NS endpoints> foo.com SOA <first NS endpoint, hostmaster...etc> *.foo.com CNAME foo.com
What is confusing to me is that my old hosting company had a whole bunch of other A records in the "dns zone" for my sites. For example:
webmail.foo.com A 188.8.131.52 cpanel.foo.com A 184.108.40.206 ftp.foo.com A 220.127.116.11 webdisk.foo.com A 18.104.22.168
Q1: Do I need any of these? I think 'no' because I never access the site from those subdomains, ever.
Q2: I am not sure about the MX record. I read articles that say it should point to
mail.foo.com -- but in my old host it was pointing at
foo.com which I followed in my new AWS zone. Under my prior host, for all my email accounts on various devices I do specify
mail.foo.com as the incoming/outgoing mail server. It works fine.
Q3: Am I missing anything else important?
Trying to establish a simple, solid base set of wiring for my sites. Thanks for any help/advice you can give me.