How to configure emails through DigitalOcean DNS for Gandi-managed domained ?

  • Posted December 14, 2020
  • DNS

I bought domain name on Gandi, and I am trying to link it with digital ocean’s DNS.

I set up an email redirection on gandi :

contact@ => forwards to :


  • Gandi alert : ==================== Gandi display an alert on my email configuration, as follow : "This domain is not using our LiveDNS nameservers. You can use Gandi Mail with any nameserver, but if you’re experiencing issues with your email please refer to your DNS provider and ensure that the domain’s DNS configuration contains the following records:

@ 10800 IN MX 10 @ 10800 IN MX 50 @ 10800 IN TXT “v=spf1 ?all”

  • Digital Ocean conf: ==================== A the same time, I set up the Digital Ocean DNS to :

Type Hostname Value TTL TXT returns “v=spf1 ?all” 3600
MX mail handled by 14400
MX mail handled by 10 14400
A directs to 3600
NS directs to 1800
NS directs to 1800
NS directs to 1800


  • Problem : ====================

I don’t receive any mail if I send one to it get lost in the wild (and no error message back neither).

What do I do wrong ? How to fix the issue ?


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.

Thanks for your answer, the NS records are indeed registered in gandi, so I just took off the NS records in digital ocean for the Domain .

Let’s hope it solves the issue (no mention of any NS needs on gandi’s interface). They just state about : @ 10800 IN MX 10 @ 10800 IN MX 50 @ 10800 IN TXT “v=spf1 ?all”

Let’s see !

I checked your WHOIS, which looks good. I checked your TXT and MX records, they also look good (utilizing the common dig utility).

Do the gandi instructions specify creating NS records? That’s the only part of the setup that I don’t see any instructions for. Plus, if your WHOIS is pointed at, you don’t need to set up any NS records for your domain - if there aren’t instructions for it, I’d remove those NS records from your domain in the DO cloud panel.

DNS changes can be slow to propagate, sometimes taking up to 48 H to become fully active, so that might be the issue there.

Hope this helps - please let us know if you have more questions :)