Setting up Registrar email service with Digital Ocean DNS

  • Posted on August 20, 2014
  • vbdataAsked by vbdata


I am using a mail service from my registrar Gandi where is my domain in order to have an email like ! I am using Digital Ocean DNS so Gandi tell me to put in a zone file this :

pop 10800 IN CNAME webmail 10800 IN CNAME smtp 10800 IN CNAME imap 10800 IN CNAME @ 10800 IN MX 10 @ 10800 IN MX 50

I add this to my in etc/bind directory (Debian) and also add to DNS control panel from Digital ocean.

Seems have somme errors when testing with this command : named-checkconf -z

zone loading from master file /etc/bind/ failed: CNAME and other data zone not loaded due to errors.

or with nslookup :

** server can’t find NXDOMAIN

What i am doing wrong ? Thanks for your help.

Show comments

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Zone file undo like before. Only DNS on Digital Ocean set.

Everything work fine.

Thank you :)

Ok, i can receive email at last on the email … So it’s works. Seems to only have to set gandi’s CNAME and MX on Digital Ocean DNS panel and not on this zone file on bind. Still have errors (same) on it.

What do you think ?

I am using Digital Ocean DNS on Gandi name server. It 's ok. Working ?? Hum, will check that.

Many thanks Andrew. Coming back to you.