I used to have my web and email services on the same machine, on the same IP address, so my DNS Zone was relatively simple.
Now, I am setting-up 2 separate machines, for Web server, and for Email server.
- Server #1 for Web services : 188.8.131.525
- Server #2 for Email services : 184.108.40.2069
After hours of researching, learning and self-testing, I am stuck when setting my DNS zone : everything on my MAIL server (Server #2) won't ping correctly. I obviously have properly created the DNS records on both machines.
On the Server #1 (220.127.116.115), I need to have :
On the Server #2 (18.104.22.1689) I need to have :
Here is the current DNS Zone I've set-up, without success :
$TTL 3600 @ IN SOA dns200.anycast.me. tech.ovh.net. (2017021601 43200 3600 1209600 600) IN NS dns200.anycast.me. IN NS ns200.anycast.me. IN A 22.214.171.1245 IN MX 1 mail.mydomain.com. ftp IN CNAME mydomain.com. www IN CNAME mydomain.com. mail IN A 126.96.36.1999 pop IN CNAME mail.mydomain.com. webmail IN CNAME mail.mydomain.com.
Should I correct anything ? (Yes : but what ^!^)
Should I add some record to the DNS records on my Server #1, in order to "re-route" traffic for mail.mydomain.com to the Server #2 ?
Thank you if you have any clue ;)