When setting up your Mail-in-a-Box you are ask to point your nameservers of your domain to your newly setup box. On some domains this fails because they require two unique nameservers. Then you have leave the control of the nameserver to your hoster and set your records by hand. This sucks! Mail-in-a-Box v0.04 has added the possibilty to add a secondary nameserver that is fully under your control thus enabling you to host nearly any domain on your own.
When searching for a secondary dns provider I found this really awesome listing of free secondary dns providers. I quickly decided that I adopt the recommendations as they seemed resonable and I'm no expert on DNS.
SetupIn this guide I'm using
example.comas the Domain and
184.108.40.206as the IP Address of your server.
Setup Mail-in-a-BoxFirstly setup Mail-in-a-Box as described in the Guide and skip the Configuring Your Domain Name step for now.
Setup with puck.nether.netGo to your admin control panel and open the Custom DNS Panel and enter puck.nether.net in the Hostname-field under Using a Secondary Nameserver and click Update. Then open https://puck.nether.net/dns/login and either create a login when you have no one or login to your already existing account. Then go to Add a domain and your domain and the IP of your Mail-in-a-Box.
Setup with BuddyNSWhen setting up BuddyNS you first have to choose which secondary nameserver you like to use from the list of possible nameservers. Either you could their recommandation tool by clicking on Recommend me or you choose it on your own. A good rule of thumb is to choose your secondary on another continent than your main server. In the example I will use
d.ns.buddyns.com. Go to you admin control panel and open Custom DNS Panel and enter
d.ns.buddyns.comin the Hostname-field under Using a Secondary Nameserver and click Update. Then go to https://www.buddyns.com/activation/ and enter your email, domain and ipadress and submit the form. This is bassically everything you need to do for BuddyNS. You can go Zones to view additional information.
Finsh setupThen go to your domain provider and add only one glue record for
220.127.116.11(You find detailed instruction in the Mail-in-a-Box Guide). Then change your nameservers to
d.ns.buddyns.comdepending on your choice. If you chose puck.nether.net as your provider you can addionally add DNSSEC records. That's all! You can visit whatsmydns.net now and enter
NSfrom the list and click Search to check if your new nameservers already propagated all over the world. Ideally every response should be
d.ns.buddyns.comdepending on your provider.