Just done it, super easy to migrate your DNS service to GCP.
From your account, I use Cloud shell session directly.
Create your new zone :
Import your zone
--delete-all-existing is necessary to delete existing NS records and use Google instead.
Get your GCP NS servers :
You will get your NS servers, for example :
And you're done.
Control DNS propagation using :
source: https://cloud.google.com/dns/docs/migrating
From your account, I use Cloud shell session directly.
Replace silverston.fr and silverston by your domain
Create your new zone :
gcloud dns managed-zones create --dns-name="silverston.fr." --description="My awesome domain" "silverston"
Import your zone
gcloud dns record-sets import -z=silverston --zone-file-format silverston.fr.txt --delete-all-existing
--delete-all-existing is necessary to delete existing NS records and use Google instead.
Get your GCP NS servers :
gcloud dns managed-zones describe silverston
You will get your NS servers, for example :
nameServers:
- ns-cloud-a1.googledomains.com.
- ns-cloud-a2.googledomains.com.
- ns-cloud-a3.googledomains.com.
- ns-cloud-a4.googledomains.com.
gcloud dns managed-zones describe examplezonename
Update your NS in your current registar to use googledomains (use the servers you get in the previous step)And you're done.
Control DNS propagation using :
watch dig +short NS silverston.fr
source: https://cloud.google.com/dns/docs/migrating
Aucun commentaire:
Enregistrer un commentaire