Updated Nov 23, 20265 min read

Route 53 vs Cloud DNS

How Amazon Route 53 and Google Cloud DNS compare for hosting DNS for an application: routing policies, alias records, health checks, private zones, DNSSEC, registrar support and what changes when you run on both clouds.

Illustration for Route 53 vs Cloud DNS

Route 53 and Cloud DNS both answer DNS queries for your domains from anycast networks, and for a simple site either does the job. The differences show up in routing policies, in how each handles the zone apex, and in how much of the surrounding domain workflow lives in the same service.

Teams usually end up choosing the one that sits next to the cloud they already run on, which is normally the right call.

How do they compare at a glance?

Route 53Cloud DNS
RoleDNS, registrar and health checksAuthoritative DNS
Routing policiesSimple, weighted, latency, geolocation, geoproximity, failover, IP-based, multivalue, AZ-affinityWeighted round robin, geolocation, failover
Apex records for cloud resourcesAlias recordsPlain A records with the load balancer IPs
Health checksBuilt in, including calculated and CloudWatch-based checksWithin routing policies, for internal load balancers and external endpoints
Private zonesPrivate hosted zones attached to VPCsPrivate zones attached to VPC networks
DNSSECSupportedSupported
RegistrarRoute 53 domain registrationCloud Domains

What do Route 53 routing policies add?

Route 53 documents nine routing policies, including latency-based routing that answers with the Region closest in network terms to the user, geoproximity routing that can shift traffic between locations, and IP-based routing for known client ranges. Failover records tie to Route 53 health checks, which can probe endpoints from several Regions and combine results.

If you run an active-active setup across AWS Regions, or need to steer traffic by latency, Route 53 gives you more options without extra services.

What does Cloud DNS cover?

Cloud DNS offers weighted round robin, geolocation and failover routing policies per record set. Failover uses health checks for internal load balancers and external endpoints, with a configurable share of traffic sent to the backup. It covers the common cases, such as gradual traffic shifts and regional answers, without latency-based or IP-based policies.

Cloud DNS also fits naturally with Google Cloud networking: private zones attach to VPC networks, and DNS peering and forwarding zones connect to on-premises resolvers.

How do the two handle the zone apex?

DNS does not allow a CNAME at the apex, so pointing example.com at a load balancer needs help. Route 53 alias records solve it: an alias A record targets a load balancer, CloudFront distribution or S3 website endpoint and resolves like a plain record. Cloud DNS has no alias type, so the apex gets A and AAAA records with the static addresses of the Google load balancer, which is straightforward because those addresses are fixed.

What does a weighted record look like in each?

# Route 53: 90 / 10 canary split resource "aws_route53_record" "api_stable" { zone_id = var.zone_id name = "api.example.com" type = "CNAME" ttl = 60 records = ["stable.example.net"] set_identifier = "stable" weighted_routing_policy { weight = 90 } } # Cloud DNS: the same split resource "google_dns_record_set" "api" { managed_zone = "example-com" name = "api.example.com." type = "CNAME" ttl = 60 routing_policy { wrr { weight = 90 rrdatas = ["stable.example.net."] } wrr { weight = 10 rrdatas = ["canary.example.net."] } } }

Route 53 uses one record per target, each with a set_identifier, while Cloud DNS puts every target inside one record set. Both rely on resolvers honoring the TTL, so the split is approximate and changes only as caches expire.

Which should you choose?

Pick Route 53 if the application runs on AWS, you want alias records, latency routing or a registrar in the same console, or you run health-checked failover across Regions. Pick Cloud DNS if the application runs on Google Cloud and you want DNS next to your VPC networks and IAM. If you run on both clouds, either works as the single authoritative provider, and consistency matters more than the choice.

How does Encore work with either?

Encore

Encore brings infrastructure from code, and it works with whichever DNS provider you choose. Per the custom domains docs, you add a CNAME for your domain pointing at custom-domain.encr.app, add the domain in the dashboard and Encore issues the SSL certificate, so the zone holds one record per hostname and no certificate validation records.

Application code passes through Encore and infrastructure guardrails to resources provisioned in your own AWS or GCP account.
Encore provisions the infrastructure your application needs in your own AWS or GCP account.
Get started
brew install encoredev/tap/encore &&
encore app create
Copy

Run in your terminal to get started locally.

~
$ encore app create storefront --example=ts/hello-world$ cd storefront && git push encore$ dig +short CNAME api.example.comcustom-domain.encr.app.

The app itself is provisioned in your own AWS or GCP account as the AWS and GCP infrastructure docs describe, so moving DNS between Route 53 and Cloud DNS later is a zone export and a name server change. A coding agent adding a new service does not touch DNS, because the domain points at the environment. See the deploy docs for how code reaches that environment.

Best fit: Teams that want their DNS provider to be a plain, replaceable choice and the domain and certificate setup for the app handled for them.

Frequently asked questions

What is the main difference between Route 53 and Cloud DNS?

Route 53 is broader. It is a DNS service, a domain registrar and a health checker with many routing policies, and its alias records point at AWS resources. Cloud DNS is a focused authoritative DNS service with weighted, geolocation and failover routing policies, and it integrates tightly with Google Cloud networking.

Can Route 53 host DNS for resources on Google Cloud?

Yes. A hosted zone is plain DNS and can point at any IP address or hostname, including a Cloud Run or Google load balancer address. The reverse also works, so the choice of DNS provider does not have to follow the cloud the application runs on.

Which one has alias records?

Route 53 has alias records that resolve AWS resources such as load balancers and CloudFront at the zone apex without a CNAME. Cloud DNS has no alias record type, so apex records point at the IP addresses of the Google load balancer.

Do I need either one with Encore?

No. With Encore, you add a CNAME for your domain pointing at custom-domain.encr.app and add the domain in the Encore dashboard, and Encore issues the certificate. Any DNS provider works, including Route 53 and Cloud DNS.

Deploy to your cloud on AWS and Google Cloud
without managing infrastructure

Encore lets developers and agents define application infrastructure directly in code, then automatically provisions it from local development to production in your AWS or GCP account.

~/orders — claude
Claude Code
Claude Code v2.1.180Opus 5.5~/orders