We have quite a couple of domains where the rightful owner is us, but the nameserver is managed by a third party (subcontractor), who doesn't allow us to change the zone files.
Thus, we are moving to our new nameservers, which we can manage on our own, namely DigitalOcean's free DNS service.
Is it possible and if yes, what disadvantages would it bring if instead of requesting the nameserver change at the registrar for DO's nameservers, I would request a change for ns1.example.com
, then I'd create a CNAME
record that ns1.example.com
points to ns1.digitalocean.com
? Would that work?
In that case, if we ever have to move our DNS service from DigitalOcean to some other service, the registrar wouldn't need to change a hundred domains at once with all the administrative hassle, we could simply modify the abovementioned CNAME
record.
ns1.example.com
to resolveexample.com
, the NS forexample.com
would be independent and different, so as far as I understand I don't need a glue record. The question is however, should I useCNAME
orA
for my vanity nameserver and what drawbacks can I expect?example2.com
and it has its NS record set tons1.example.com
. When queryingns1.example.com
, to find out where it is, it must first findexample.com
. The authoritive nameserver forexample.com
however, isns1.digitalocean.com
, notns1.example.com
. So there is no circular dependency. Am I wrong?ns.example.com
would be reachable.CNAME
records for namesevers are not recommended.