Question
Setting up Registrar email service with Digital Ocean DNS
Hello,
I am using a mail service from my registrar Gandi where is my domain in order to have an email like contact@domain.com !
I am using Digital Ocean DNS so Gandi tell me to put in a zone file this :
pop 10800 IN CNAME access.mail.gandi.net.
webmail 10800 IN CNAME agent.mail.gandi.net.
smtp 10800 IN CNAME relay.mail.gandi.net.
imap 10800 IN CNAME access.mail.gandi.net.
@ 10800 IN MX 10 spool.mail.gandi.net.
@ 10800 IN MX 50 fb.mail.gandi.net.
I add this to my db.domain.com 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 domain.com/IN: loading from master file /etc/bind/db.domain.com failed: CNAME and other data
zone epsilon-lyr.com/IN: not loaded due to errors.
or with nslookup :
** server can’t find espilon-lyr.com: NXDOMAIN
What i am doing wrong ? Thanks for your help.
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.
×
Hi,
Could you please indicate how you managed to setup the DNS from the control panel ? I’m having exactly the same issue and trying to save them in the zone file, but I can’t understand how to generate these instructions with an “IN” from the control panel.
Thank you
Did you ever figure this out?