Google Cloud DNS or Google Public DNS

Why would you want to use "Google Cloud DNS" when "Google Public DNS" is free?

How to configure the DNS / nameserver to point to the compute engine:
1. Install a domain registrar (GoDaddy.com in my case) or "nameserver" to point to the DSN server provider you are using.
2. Log into your DNS server provider (any suggestions?) And set a static IP to map to your domain name.

Is the above the correct DNS setup process for the web server?

Relationship Chris

+3


source to share


2 answers


Google Cloud DNS provides you with authoritative name servers that you can configure with DNS records. Google Public DNS is just a name resolver that looks up data from an authoritative name server. See http://en.wikipedia.org/wiki/Name_server for more information on authoritative name servers and caching resolvers.



And yes, this process should work. Google Cloud DNS is one example of what you are looking for.

+6


source


To set up Google DNS using Google Compute Engine, this is what you would do:

Create a managed zone

gcloud dns managed-zone create --dns_name = "example.com." --description = "Something descriptive" "myzonename"

Get your nameservers and update them from your domain registrar

gcloud dns records --zone = "myzonename" list



Create your notes and edit them

gcloud dns records --zone = "myzonename" edit

In the Add-ons section, add A records that point to your Compute Engine computer's IP address

{"additions": [{"kind": "dns # resourceRecordSet", "name": "example.com." , "rrdatas": ["192.168.2.20"], "ttl": 86400, "enter"}, {"kind": "dns # resourceRecordSet", "name": "www.example.com.", "rrdatas ": [" 192.168.2.20 "]," ttl ": 86400," enter "}]," delete ": [{" kind ":" dns # resourceRecordSet "," name ":" example.com. " ,"rrdatas": ["ns-cloud1.googledomains.com. dns-admin.google.com. 2 21600 3600 1209600 300"], "ttl": 21600, "type": "SOA"}]}

Save and exit. You have to be good to go now.

+1


source







All Articles