Link to home
Start Free TrialLog in
Avatar of Bunheng
Bunheng

asked on

Google Cloud DNS Configuration

Hi Expert,

I would like to change current hosting to Google Compute Engine. All my domain names setting name server to (ns1.mydomain.com and ns2.mydomain.com) I don't want to change name server setting to google name server. I would like to know is there any possible way configure the same setting on google compute engine as I really don't want to touch the customer domain name setting. I really appreciate all reference and suggestion.

Thanks
Bunheng
Avatar of Jian An Lim
Jian An Lim
Flag of Australia image

check google and it says you don't need to change to google name server

https://cloud.google.com/compute/docs/tutorials/setting-up-dns

Mapping your domain name using a third-party DNS provider

If you have an existing DNS provider that you want to use, you need to create a couple of records with that provider. This lesson assumes that you are mapping example.com and www.example.com to point to your website hosted on Google Compute Engine.

For the example.com domain name, create an A record with your DNS provider. For the www.example.com sub-domain, create a CNAME record for www to point it to the example.com domain. The A record maps a host name to an IP address. The CNAME record creates an alias for the A record. This lesson assumes you want example.com and www.example.com to map to the same IP address.

Get your external IP address for your instance. You can look up the IP address from the VM instances page in the Developers Console.

Sign in to your provider's DNS management interface and find the domain that you want to manage. Refer to your DNS provider's documentation for specific steps.

Create an A record and set the value to your external IP address. The name or host field can be set to @, which represents the naked domain. For more information, the Google Apps support page provides help for completing various DNS tasks.

Create a CNAME record, set the name to www, and set the value to @ or to your hostname followed by a period (example.com.). Read the Google Apps support for help creating the A record with various providers.

If appropriate for your provider, increment the serial number in your SOA record to reflect that changes have been made so that your records will propagate.

Open in new window

Avatar of Bunheng
Bunheng

ASKER

Hi,

Thanks for your reply. I those what I considered before, but there are issues all domain register through Godaddy which not allow to customize DNS zone when we are not using their nameserver, I tried before name server can not resolve the IP of google compute instance. Is there any configuration we need to do on each instance.

Other way, I am thinking point NS1 and NS1 to IP address of google cloud name server, but this way I have to add all domain to Google Cloud DNS, which I have to pay every month.

Really appreciated your suggestion.

Thanks
what the benefit of switching to google dns?
do you have a lot of Google Compute Engine?

you just need to map each of them to the subaddress to google external ip address
a bit of headache but they are required.

if not, you need to switch both ns record to google dns.
This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.