We are currently in the process of migrating from one host to the google cloud platform.
But there is one thing that is causing us confusion. We have various clients who have setup custom domains with us. Many of them have done so by updating their nameservers to the following:
- ns1.mydomain.com
- ns2.mydomain.com
- ns3.mydomain.com
However, when we add domain zones to gcloud each domain seems to get assigned different NS records at random.
Some get assigned the following
ns-cloud-a1.googledomains.com, ns-cloud-a2., ns-cloud-a3.
While others get
ns-cloud-b1., ns-cloud-c1., ns-cloud-d1.* etc.
How can we make the current custom domains continue to work after we migrate? We have several hundred custom domains set up and we would like to migrate to gcloud without any changes required from our clients.
Our original plan for the migration was:
- Add zones for mydomain.com to google cloud DNS and take note of NS records
- Add zones to cloud DNS for all of our client custom domains
- Update our nsX.mydomain.com nameservers to point to the IP address of the NS records for mydomain.com
- All existing custom domains should continue to work regardless of their NS records (in theory)
However, I'm not sure if that is the correct way to proceed.
Some things I'm particularly confused about:
- Do we need to set the NS records for the custom domains in gcloud to our nsX.mydomain.com servers? We don't currently specify any NS records for these domains in cPanel.
- Does it matter which name servers the custom domains are assigned to in gcloud? (ns-cloud-a1 for some vs ns-cloud-b1 for others)
- Would we expect any sort of downtime for this DNS transfer?
Any assistance with this would be greatly appreciated. Thanks.