I have a domain which A record points to a site, hosted on VPS. Now I want to make a mail server, which is located on a second VPS. To make mail server work I need MX records, which is based on A record. So my DNS should look like this:
Name | Type | IP
Site ---- A - First_VPS_IP
Mail --- A -- Second_VPS_IP
@ ----- MX - Mail
But clearly, it is impossible to create two different A records. So is it possible to use different servers for site and mail server on same domain? Thanks.