I have a server that I operate from my home on a static IP. I also use Dreamhost to host my personal website at www.mywebsite.com. I have setup an A Name record (server.mywebsite.com) as a custom DNS entry for mywebsite.com through the Dreamhost panel that points to the static IP of my server. Thus, I can now access my home server at server.mywebsite.com.
My home sever is also capable of acting as a mail server, and I would like it to handle all mail for server.mywebsite.com (i.e. email@example.com). I would like the Dreamhost servers to continue handling mail for the root domain (i.e. firstname.lastname@example.org).
Since my subdomain is not hosted by Dreamhost (I only need Dreamhost to provide the DNS records for it), it does not have it’s own DNS or MX record links in the web panel. If I try to officially create it as a hosted subdomin (as opposed to just adding the A record manually to the root domain’s DNS records), Dreamhost tries to fully host it and I can no longer redirect the server.mywebsite.com requests to my home server. But if I do it manually as I am now, I have no access to subdomain specific MX record editing.
How do I setup custom MX records that will only effect the server.mywebsite.com subdomain? Ideally, all these issues could be solved if I could setup a DNS only subdomain through the panel that allows arbitrary custom DNS records (including MX) for anything at server.mywebsite.com. Any help would be appreciated.