I have three domains from three different registrars (e.g. example.com, example.net, example.org). The DNS records for each domain is handled separately using the control panel of each registrar. I wish to centralize all zones to a single service by changing all Glue Records to point to a single DNS server say ns1.example.net
.
The procedure i end up is:
- Create each zone on the new server.
- "Copy" all records (
A
,AAAA
,MX
e.t.c) from registrars to the equivalent zone. - Change glue records on all domains to point to the new server
ns1.example.net
However, I am troubled with the following:
Any cached
A
-Record queries from clients or resolvers shouldn't be an issue since the records of my NS server will point to the same IPs just as the original records did. Is that correct?What about the
NS
record queries? Do clients or recursive DNS Servers cacheNS
record queries? If this is the case, then, there is a possibility as soon as I change the glue record, clients will try to query old DNS server (registrar`s).
Regarding No 2, the way I see it, if the registrar stops responding to DNS queries as soon as I delegate the zone to another server... then I am helpless. Do registrars foreseen such situations and keep serving queries, lets say for another 24 hours, from the time you change the glue records?
That is correct.
Yes, clients and servers cache NS RRs just like all other RRs.
You may be confusing registrars and DNS providers. For example, I use Dyn as my registrar and cloudflare as my DNS provider. If I were to change registrars the clouldflare DNS servers would still respond to queries for my domain until I deleted it from cloudflare's name servers.
If your registrar and DNS provider are the same you'll need to ask them. They could immediately reconfigure their name servers the moment you change the registrar away from them and servers / clients that have the NS RR cached will fail to resolve RRs in those domains.
That being said, that wouldn't be nice for a registrar/DNS provider to do that so they probably don't.
Aside: If you are going to be setting the NS records for domainA.net, domainB.net, domainC.net under mydomain.net (ns1.mydomain.net) you will no longer have glue records for those domains. You will for ns1.mydomain.net. What these means:
dig ns cloudflare.net @192.5.6.30