Report this

What is the reason for this report?

How to set up dns for mail server?

Posted on February 14, 2021

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.



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

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:

https://www.digitalocean.com/docs/networking/dns/how-to/manage-records/

For MX records use this link:

https://www.digitalocean.com/docs/networking/dns/how-to/manage-records/#mx-records

Hope that this helps! Regards, Alex

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.