Google Cloud DNS
Contents
1. What is DNS?
2. Google Cloud DNS
3. Example how to setup Google Cloud DNS
Who am I?
Zdenko Hrcek, software consultant
(Developing on Google Cloud Platform since 2012)
+ZdenkoHrcek
@zdenulo
zdenulo@gmail.com
http://www.the-swamp.info
First what is DNS ?
DNS - Domain Name System
Wikipedia:
“is a hierarchical decentralized naming system for computers,
services, or any resource connected to the Internet or a private
network” https://en.wikipedia.org/wiki/Domain_Name_System
Plain English:
When I type url of some website in browser, computer knows
to which IP address of the server it needs to connect in order
to obtain data for the website.
It’s like a phonebook
DNS records
When we have domain, we can manage it through DNS
records.
DNS records have different purposes, some types of DNS
records are:
● A - IPv4 address, maps IP of host with domain
● CNAME - alias for one name to another
(www.example.com, points to example.com)
● MX - manages where emails should be delivered
● TXT - whatever text, Google use it verify that you are
domain owner for example
Plus many more.
Domain registrars offer possibility to manage DNS records for
domain
What is Google Cloud DNS ?
When you have project on Google Cloud Platform, you can
also manage DNS records inside of project.
Nothing more or less.
Why ?
(you can live without Google Cloud DNS)
● You have everything in one place for your project
● Or you have multiple domains tied to one of your projects
● It’s managed by Google, i.e. fast, reliable, secure
● It’s in the same network as your servers (either Google
App Engine or Google Compute Engine), so requests have
smaller latency
● Uses Anycast network addressing (requests are rooted to
nearest location)
● Possibility to manage DNS records through:
○ Google Console
○ REST API
○ gcloud (command line interface)
● Least but not the least... price :) - 0.2$/month for one
zone + queries
Setting up GC DNS
You can watch screencast at this URL:
https://www.youtube.com/watch?v=pG8nkUq25hA
Or read at this link:
http://www.the-swamp.info/google-cloud-dns-setup/
If you have any questions feel free to contact me

Google Cloud DNS

  • 1.
  • 2.
    Contents 1. What isDNS? 2. Google Cloud DNS 3. Example how to setup Google Cloud DNS
  • 3.
    Who am I? ZdenkoHrcek, software consultant (Developing on Google Cloud Platform since 2012) +ZdenkoHrcek @zdenulo zdenulo@gmail.com http://www.the-swamp.info
  • 4.
    First what isDNS ? DNS - Domain Name System Wikipedia: “is a hierarchical decentralized naming system for computers, services, or any resource connected to the Internet or a private network” https://en.wikipedia.org/wiki/Domain_Name_System Plain English: When I type url of some website in browser, computer knows to which IP address of the server it needs to connect in order to obtain data for the website. It’s like a phonebook
  • 5.
    DNS records When wehave domain, we can manage it through DNS records. DNS records have different purposes, some types of DNS records are: ● A - IPv4 address, maps IP of host with domain ● CNAME - alias for one name to another (www.example.com, points to example.com) ● MX - manages where emails should be delivered ● TXT - whatever text, Google use it verify that you are domain owner for example Plus many more. Domain registrars offer possibility to manage DNS records for domain
  • 6.
    What is GoogleCloud DNS ? When you have project on Google Cloud Platform, you can also manage DNS records inside of project. Nothing more or less.
  • 7.
    Why ? (you canlive without Google Cloud DNS) ● You have everything in one place for your project ● Or you have multiple domains tied to one of your projects ● It’s managed by Google, i.e. fast, reliable, secure ● It’s in the same network as your servers (either Google App Engine or Google Compute Engine), so requests have smaller latency ● Uses Anycast network addressing (requests are rooted to nearest location) ● Possibility to manage DNS records through: ○ Google Console ○ REST API ○ gcloud (command line interface) ● Least but not the least... price :) - 0.2$/month for one zone + queries
  • 8.
    Setting up GCDNS You can watch screencast at this URL: https://www.youtube.com/watch?v=pG8nkUq25hA Or read at this link: http://www.the-swamp.info/google-cloud-dns-setup/ If you have any questions feel free to contact me