Can't Set External MX Records

libre

New member
Joined
Dec 6, 2018
Messages
6
I'm getting error "No domain provided" when I try to set my MX records to an external server.

I tried putting an @ but it still doesn't seem to work. So what's the correct way to do this?
 
Directadmin does not use @ characters.
Just put in the correct external mailserver like this.

domain.com. 14400 MX 10 mail.externalhost.com
domain.com. 14400 MX 20 mail.externalhost.com

If you would need an A record for it too, just enter it like this in DA:
mail 14400 A xxx.xxx.xxx.xxx
where xxx stands for the ip address of the external server.

You also have to unselect an option for the local server:
https://help.directadmin.com/item.php?id=8
 
Hello,

It's important in Directadmin interface to have final dots in the right too:

domain.com. 14400 MX 10 mail.externalhost.com.
domain.com. 14400 MX 20 mail.externalhost.com.
 
Ah, sorry, you're correct.
I forgot that because I only use "mail" there (without the quotes), no full domain name, but that's for internal use. When stating the full domain name it needs a dot at the end on the right side too indeed.
 
Back
Top