Cloud DNS provides users with a high-performance, resilient and global DNS service that makes it easier to manage your applications while giving users easy access to these applications.
The way Cloud DNS works differs between public and private zones. Here’s a look at how they are delineated.
As noted in the above-quoted description of Cloud DNS from Google, public zones are visible on the internet and are where you publish your external apps. In these zones, Cloud DNS uses what are known as “authoritative name servers” to respond to public queries no matter where these queries originate. It assigns this set of name servers when you create a public zone.
These zones give you an easy-to-manage internal DNS solution that focuses on your virtual machines, load balancers and other GCP resources. Private zones don’t expose your underlying DNS data to the public internet and remain within your own network.
Private zones only can be queried by your organization’s authorized Virtual Private Cloud (VPC) networks and are assigned to specific projects. You need to specify the list of authorized VPCs that can query a specific zone when you create that zone. This blocks hostile agents from gaining access
In short, Cloud DNS gives your organization a way to publish your DNS zones and records easily, either for external users or your internal teams, without requiring your IT team to manage the servers and software it takes to do that. Cloud DNS relieves that burden and allows them to focus on other critical activities. And it delivers reliable, low-latency access to your services to users anywhere in the world.
What Features Does Cloud DNS Offer?
Cloud DNS comes with its own set of features that ensure you get a scalable, reliable and managed DNS service.
Anycast name servers
Anycast name servers are ones that can respond to DNS queries. Google offers a global network of these to provide users with quick results to a query. Typically the geographically closest server handles the query, but any location around the world provides redundancy for high availability and low latency for requests.
Automatic scaling and guaranteed availability
Cloud DNS scales multiple DNS zones and records to handle your query volumes, even if you’ve created numerous records. Google Cloud indicates its service-level agreement (SLA) ensures 100% availability of its authoritative name servers.
API and web UI management
While you can use Google Cloud Console to easily manage your Cloud DNS records, there are other management options. These include managing your records using Google’s scriptable gcloud command-line tool or its REST API to create a customized DNS interface.
Zone and project management
This feature allows you to create managed zones for a project and also add, delete and edit DNS records, monitoring them as they propagate to DNS name servers.
Because Cloud DNS supports the migration of any existing DNS domain from another provider to its servers, it’s easy to create a managed zone to contain your records, import your existing zone configuration and update your registrar’s name servers and make the switch.
We want to be sure you understand all that Google Cloud Platform has to offer, so be sure to check out other blogs in our GCP 101 series. We'll be adding more soon!