Cloudbooklet
  • News
  • Artificial Intelligence
  • Applications
  • Linux
No Result
View All Result
Cloudbooklet
  • News
  • Artificial Intelligence
  • Applications
  • Linux
No Result
View All Result
Cloudbooklet
No Result
View All Result
Home Google Cloud

Setting up Google Cloud DNS for your domain

by Cloudbooklet
5 years ago
in Google Cloud, Cloud DNS
Google Cloud Dns
ShareTweetSendShare
Readers like you help support Cloudbooklet. When you make a purchase using links on our site, we may earn an affiliate commission.

Domain Name System(DNS) is a distributed database which lets you store IP addresses and other data and looks them up by names. In this tutorial we point our domain registerd in Google Domains to Google Cloud DNS Prerequisites Have a Compute Engine Instance running Reserved the External IP address of your VM Instance. For setting up […]

ADVERTISEMENT

Domain Name System(DNS) is a distributed database which lets you store IP addresses and other data and looks them up by names.

In this tutorial we point our domain registerd in Google Domains to Google Cloud DNS

Get your Professional Google Cloud Architect certificate with this easy to learn course now.

ADVERTISEMENT

Prerequisites

  • Have a Compute Engine Instance running
  • Reserved the External IP address of your VM Instance.
  • For setting up Compute Engine, see the Setting up Compute Engine Instance

Commonly used DNS Records

  • A Record – IPv4 address, maps IP of the host with a domain.
  • AAAA Record – IPv6 address, mainly used in HTTP(S), SSL Proxy, and TCP Proxy Load balancing.
  • CNAME – Alias for one name to another (www.domain.com, points to domain.com)
  • MX – Manages where emails should be delivered.
  • TXT – Any text content, like domain owner verification text or something like that

Why use Google Cloud DNS?

  1. To have everything in one place for your project.
  2. Managed by Google and it’s fast, reliable and secure with low-latency.
  3. Uses Anycast (requests are rooted to nearest location).
  4. Low Pricing (0.2/month per zone).

How to point your domain to Google Cloud DNS?

Go to Network Services >> Cloud DNS in your GCP Console

Click Create Zone

You might also like

How To Setup Ssh Keys On Ubuntu

How to Setup SSH Keys on Ubuntu 20.04

4 months ago
Draggan Ai Editing Tool Install And Use Draggan Photo Editor

DragGAN AI Editing Tool Install and Use DragGAN Photo Editor

4 months ago
Google Cloud Dns Zone

Choose Public for the Zone type.

ADVERTISEMENT

Enter your desired name (recommended to use your domain name without extension .com or .co.au) for the Zone name

Enter your domain name for the DNS name. For example, domain.com.

ADVERTISEMENT

Keep the Off setting selected for DNSSEC.

Click Create.

ADVERTISEMENT

Create new A record

Once the DNS zone is created you will be provided with default four NS records and SOA records.

Ns Records

Now you can create a new record to point your domain to your VM Instance’s external IP address.

ADVERTISEMENT
  1. Click Add record set.
  2. Select Resource Record Type to “A”.
  3. IPv4 Address with the IP address of your instance that you have reserved earlier.
  4. Leave everything to default.
  5. Click create
Create A Record

Create new CNAME record

  1. Enter DNS name “www”.
  2. Select Resource Record Type to “CNAME”.
  3. Canonical name as your domain name followed by a period (domain.com.).
  4. Leave everything to default.
  5. Click create
Create Cname Record

Update your domain name servers

Login to your domain registrar (for example Google Domains) and go to DNS settings.

Select Use custom name servers.

Add the four NS records provided to you when you created the zone for your domain.

Update Nameservers

Save your settings.

Now your domain name is pointed to Google Cloud VM Instance and uses Google Cloud DNS.

Learn how to setup DNSSEC in Cloud DNS.

Tags: Cloud DNSGoogle Cloud Platform
Share2Tweet1SendShare
Cloudbooklet

Cloudbooklet

Comments 9

  1. Avatar Of Alen Alen says:
    2 years ago

    Once I added the Google Cloud DNS I lost the email alias forwarding from my google domain. It says “To enable them, restore the default Google Domains name servers.” Any help?

    Reply
  2. Avatar Of Debasis Halder DEBASIS HALDER says:
    3 years ago

    Hi there,
    It’s a good effort and through this process I proceeded but may be due to some intermediate problem I could not connect my domain[wdloo.com] to google cloud dns. If you permit me to send you what I AM FACING now through your email[by showing screenshot] may be you would be able to understand the problem. Then by your suggestion I MAY PROCEED .

    TIA

    Reply
    • Avatar Of Debasis Halder DEBASIS HALDER says:
      3 years ago

      SORRY DOMAIN NAME WOULD BE

      wdlaoo.com

      Reply
  3. Avatar Of Nickie Oakwood Nickie Oakwood says:
    4 years ago

    My issue is this. When I create VM then install WP, I then set up SSL through SSH. all of this works but can’t change default wp url from http: to https. I have set up GCS with Load Balancer which combats this but what I want is to be ablt to create a WP Deployment but have it assigned to https then all good. How do I create this wP site based on the https?

    Many thanks

    Reply
    • Avatar Of Cloudbooklet Cloudbooklet says:
      4 years ago

      While using LoadBalancer you need to follow a different approach for setting up as described here.

      https://www.cloudbooklet.com/setup-https-load-balancing-in-google-cloud-cdn/

      Reply
  4. Avatar Of Yashi Yashi says:
    4 years ago

    Should the last screenshot have said e1-e4 instead of c1-c4 given that the name servers in your first screenshot were e1-e4?

    Reply
    • Avatar Of Cloudbooklet Cloudbooklet says:
      4 years ago

      Hi, thanks for pointing out. I have replaced the image with the correct one. You should use the nameservers that is created in the Cloud DNS

      Reply
  5. Avatar Of Naveen Garg NAVEEN GARG says:
    4 years ago

    I tried the above method. It is not working. It shows refuses to connect.

    Reply
    • Avatar Of Cloudbooklet Cloudbooklet says:
      4 years ago

      This setup will work without any issues, once you update the DNS the propagation will take 24 – 48 hrs. So you need to wait until propagation is completed or use a VPN or proxy to view the changes immediately

      Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Related Posts

Set Up Deep Learning With Nvidia, Cuda, Cudnn On Ubuntu

How to Set Up Deep Learning with Nvidia, CUDA, cuDNN on Ubuntu 22.04

7 months ago
How To Install Or Upgrade Php 8.2 On Ubuntu 22.04

How to Install or Upgrade PHP 8.2 on Ubuntu 22.04

9 months ago
How To Change Timezone On Ubuntu 22.04

How to Change Timezone on Ubuntu 22.04

1 year ago
How To Install Ansible On Ubuntu 22.04

How to Install Ansible on Ubuntu 22.04

1 year ago

Follow Us

Trending Articles

Ai Annotation Jobs

AI Annotation Jobs: Everything You Need to Know

September 18, 2023

How to Block YouTube Ads on Android TV in 2023 (6 Easy Methods)

How to Create and Customize Stunning Contact Poster on iPhone

Microsoft Editor vs Grammarly: Which is the Best Grammar Checker?

AI Statistics and Trends: What You Need to Know in 2023

7 Best AI Girl Generators for Creating Realistic and Beautiful AI Girls

Popular Articles

Chatgpt To Translate

How to Use ChatGPT to Translate Your Website or Blog

September 20, 2023

How to Create a Personal AI Assistant with LocalGPT

How to Enable Bing Chat Enterprise for Your Microsoft Search

7 Best AI Album Cover Generators to Create Stunning Artwork

How to Stabilize Videos for Free with Online Video Stabilizer

10 FREE Cleanup AI Tools to Remove Objects and Cleanup Pictures

Subscribe Now

loader

Subscribe to our mailing list to receives daily updates!

Email Address*

Name

Cloudbooklet Logo

Welcome to our technology blog, where we explore the latest advancements in the field of artificial intelligence (AI) and how they are revolutionizing cloud computing. In this blog, we dive into the powerful capabilities of cloud platforms like Google Cloud Platform (GCP), Amazon Web Services (AWS), and Microsoft Azure, and how they are accelerating the adoption and deployment of AI solutions across various industries. Join us on this exciting journey as we explore the endless possibilities of AI and cloud computing.

  • About
  • Contact
  • Disclaimer
  • Privacy Policy

Cloudbooklet © 2023 All rights reserved.

No Result
View All Result
  • News
  • Artificial Intelligence
  • Applications
  • Linux

Cloudbooklet © 2023 All rights reserved.