Skip to main content
mailyoto

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

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.
  1. 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.

    DigitalOcean's Networking page with Networking and the Domains tab marked, lunavera.com typed in Enter domain and the Add Domain button marked.
  2. Delete other MX records#

    In the domain’s list of records, delete every MX record that doesn’t point to mx1.mailyoto.com or mx2.mailyoto.com. Mailyoto checks that every MX record on the domain is one of its own.

  3. 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
    DigitalOcean's Create new record form on the MX tab with Hostname @, mail server mx1.mailyoto.com and Priority 10, and the Create Record button marked.

    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.

  4. Add the SPF record#

    Open the TXT tab, fill in the fields, then select Create Record.

    DigitalOcean's Create new record form on the TXT tab with Value v=spf1 include:spf.mailyoto.com ~all and Hostname @.
    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=spf1 is already there, edit it instead of adding a second one. Put include:spf.mailyoto.com before its final ~all or -all, as Merging SPF records shows.

  5. 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.

  6. 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.

    The DNS tab just after Check DNS, with a tick beside every record and a message below the tables saying the domain is verified.

    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.

    The lunavera.com header in Mailyoto with the Forwarding and Sending pills, both ticked.

    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.