How to setup Gandi as Secondar DNS provider?

I was finally make a “perfect” mailserver registering .website TLD at gandi.net, thanks a lot mailinabox team!
Perfect means here that I was able to create glue records, DNSSEC, set up SSL.

Then, I wanted the same for two other mailservers, using .fashion and .top TLDs. I failed creating glue records, but gandi support says it’s because I need different IP addresses for namservers.

They suggested, that I could use gandi’s Secondary DNS, ns6.gandi.net.

Can I use gandi’s secondary DNS for secondary nameserver in mailinabox?

I tried to set it up, entered the hostname into mailinabox Custom DNS Secondary field. But on gandi’s control panel, I don’t know what to do, I still cannot create glue records.

1 Like

Then add ns6.gandi.net as your third name server for your domain as follows:

https://dl.dropboxusercontent.com/u/78930441/MiaB/miab-dns6-gandi-secdns-09-12-2015-23-05-43.png

  • At MiaB admin panel you have two options:
  1. just add ns6.gandi.net as your secundary DNS server or
  2. Add xfr:217.70.177.40 (the ns6.gandi.net default IP) instead:

https://dl.dropboxusercontent.com/u/78930441/MiaB/miab-gandi-secdns--as-xfr-ip-09-12-2015%2023-19-56.png

  • Finally, give sometime to fully propagate your DNS’s changes and verify results with:

dig yourdomain.com @ns6.gandi.net

  • Here you have an example of the answer you will get:

https://dl.dropboxusercontent.com/u/78930441/MiaB/miab-dig-ns6-gandi-answer-09-12-2015-23-29-26.png

Hope this helps!

1 Like

You should avoid using xfr: unless there’s a specific reason, because with xfr: the nameservers you set at your domain registrar will be inconsistent with the nameservers published by your box. That’s probably OK but might confuse DNS servers or might result in your secondary DNS server not actually being used if the DNS results from your box are cached by users’ upstream DNS servers (maybe).

Thaks for all this useful knowlage about namservers, now I can try them… on a different TLD domain.

It turned out, that my glue record creation problems are related to my choice of TLD. As gandi support finally figured out:

“After a check with our technical department, it appears that for .FASHION and .TOP Tlds, it is not possible to declare a Glue record for a “sub-sub” domain.
In clear you are asking on:
ns1.box.mydomain.fashion
or
ns1.box.mydomain.top
And this will only works for example, for:
ns1.mydomain.fashion
or
ns1.mydomain.top
Our technical team will fix this, but unfortunately, I have no ETA to provide for now.”

If they notify me about the fix, I will post it here! Until that, these TLDs are not really fit or MiaB I guess.

  • Then, modified now Secundary Nameserver hostname to ns6.gandi.net
  • Thanks alot for the advise!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.