How to set up dns for mail server?

Posted February 14, 2021 199 views

I have my DNS pointing to ns1.digitalocean, ns2.digitalocean and I have mail server set on another server, not on digitalocean droplet. How am i supposed to set dns to point on another server? I have made MX and CNAME records pointing to mail server and it works for outgoing mails but not for incoming so I am not receiving any mails.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

Hello, @redcode

You need to set the MX record to point to your mail provider. You can ask the third-party for the MX record and then simply configure the DNS from your DigitalOcean account.

You can also double-check our tutorial on how to manage DNS records:

For MX records use this link:

Hope that this helps!