Add DNS records in DigitalOcean
Add the MX and SPF records in DigitalOcean's Networking domains so email sent to your domain reaches your inbox through Mailyoto.
Updated 29 October 2026
Choose a different DNS provider
Domain registrars
Web hosts
DNS and cloud services
Website platforms
Add Mailyoto’s records in DigitalOcean if the domain uses DigitalOcean for its DNS.
Before you start
- Your domain added in Mailyoto
- Access to the DigitalOcean team that holds the domain
- The domain’s name servers set to DigitalOcean’s at your registrar. Records added here have no effect until then.
-
Open the domain in Networking#
In the DigitalOcean control panel, open Networking in the left menu, then the Domains tab.
Select your domain, for example
lunavera.com. If it isn’t listed yet, type it in Enter domain and select Add Domain.
-
Delete other MX records#
In the domain’s list of records, delete every MX record that doesn’t point to
mx1.mailyoto.comormx2.mailyoto.com. Mailyoto checks that every MX record on the domain is one of its own. -
Add the MX records#
Under Create new record, open the MX tab. Create 1 record per row below. Select Create Record after each.
MX records Hostname Mail providers mail server Priority @ mx1.mailyoto.com 10 @ mx2.mailyoto.com 20
Leave TTL (seconds) as DigitalOcean fills it in.
After you save, DigitalOcean shows each mail server with a dot at the end, such as
mx1.mailyoto.com.That dot is normal. Mailyoto reads the record correctly. -
Add the SPF record#
Open the TXT tab, fill in the fields, then select Create Record.
- Value
- v=spf1 include:spf.mailyoto.com ~all
- Hostname
- @
Important
A domain can have only 1 SPF record. If a TXT record starting with
v=spf1is already there, edit it instead of adding a second one. Putinclude:spf.mailyoto.combefore its final~allor-all, as Merging SPF records shows. -
Add the DKIM records to send email#
Skip this step if you only receive email. To send from your domain on Pro or Max, add these 2 records on the CNAME tab.
- Hostname
- yoto1._domainkey
- Is an alias of
- yoto1.yotosend.com
- Hostname
- yoto2._domainkey
- Is an alias of
- yoto2.yotosend.com
Setting up DKIM explains what these records do.
-
Check the records in Mailyoto#
In Mailyoto, open Domains, choose your domain, then open the DNS tab.
Select Check DNS. Each record shows a tick when Mailyoto finds it, or a cross when it doesn’t.
Mailyoto forwards email once it finds both MX records and the SPF record. The Forwarding pill at the top of the domain then shows a tick.
Mailyoto also checks every domain again each day at 02:00 UTC. To watch an email arrive, use Send test (the paper plane) on an alias in the Forwarding tab.
If the domain doesn’t verify#
Every record shows a cross
The domain’s name servers probably still point to another provider. At your registrar, set the name servers to DigitalOcean’s, then select Check DNS again once the change has spread.
The MX records show a cross
Check that the priorities are exactly 10 for mx1.mailyoto.com and 20 for mx2.mailyoto.com.
Mailyoto doesn’t accept other numbers.
Also delete any MX record that still points to another provider.
The SPF record shows a cross
Look for a second TXT record starting with v=spf1.
A domain with 2 SPF records fails the SPF check. Merge them into one.