Question
How to set up DNS records in Digital Ocean to enable external mailhost (SMTP)
Hi There,
I want to set the DNS records so they point to the mailserver that uses SMTP.
I am running a droplet on Digital ocean with IP dro.p.l.t
I am running a mailserver on a shared host with ip mai.l.s.v
The SMTP server settings that I got from my shared host are:
SMTP server: mail.axc.nl
SMTP port: 465
SSL: on
password for SMTP is needed
I have set the following DNS records in Digital Ocean:
DNS records pointing to Droplet:
domain.nl. IN SOA ns1.digitalocean.com. hostmaster.domain.nl. 1472136158 10800 3600 604800 1800
domain.nl. 1800 IN NS ns1.digitalocean.com.
domain.nl. 1800 IN NS ns2.digitalocean.com.
domain.nl. 1800 IN NS ns3.digitalocean.com.
domain.nl. 1800 IN A dro.p.l.t
www.domain.nl. 1800 IN A dro.p.l.t
*.domain.nl. 1800 IN A dro.p.l.t
DNS records pointing to SMTP Mailserver:
mail.domain.nl. 1800 IN A mai.l.s.v
domain.nl. 1800 IN MX 10 mail.axc.nl.
domain.nl.domain.nl. 1800 IN TXT “v=spf1 a mx ip4:mai.l.s.v a:spf.spamexperts.axc.nl -all”
smtp.domain.nl. 1800 IN A mai.l.s.v
Are these the correct settings?
Hope someone can help me out. Many thanks!
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.
×