Add MX record for

How do you properly add an MX record for

I have added MX Priority 5 (with the trailing dot)

Do I need any other records?

I have 3 A Records ( @, www, and mail) all pointing to the ip address of the droplet, and the standard 3 NS records pointing to The website works fine, but setting email up on the server and getting errors so I figure make sure the is set correct first off.

Thanks in advance,



Submit an 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.

As you already have an A record pointing to, you would need to set the MX record like this: MX 0 (priority can be 0 as you have only one MX record)

I am not sure where your DNS is maintained, so, depending upon the provider, the trailing dot at the end of may or may not be needed