Question

Setting up Mail-in--box with domain already managed by Digital Ocean

I have a domain that is associated with a droplet for my website and an app platform instance. I created a new droplet for the MIAB mailserver but the domain is already managed by Digital Ocean so how do I add the glue records?

Subscribe
Share

I get the following error from MIAB:

Nameserver glue records are incorrect. The ns1.box.example.xyz and ns2.box.example.xyz nameservers must be configured at your domain name registrar as having the IP address <droplet IP address>. They currently report addresses of [Not Set]/[Not Set]. It may take several hours for public DNS to update after a change.


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.

Hello,

Besides adding the NS records, in order to setup glue records, you also need to go to your domain name provider, the company that you’ve registered your domain name with, and ask register your nameservers there too.

You can follow the steps on how to do that here:

https://www.digitalocean.com/community/tutorials/how-to-run-your-own-mail-server-with-mail-in-a-box-on-ubuntu-14-04#step-3-create-glue-records

The example is with Namecheap, but the process should be valid for all other domain providers. In case that you experience any issues, I could suggest getting in touch with your domain provider directly and asking them to register the nameservers for you.

Let me know how it goes!

Best,

Bobby