DNS and Route 53 on AWS: Health Checks, Failover Routing, and Domain Management With QuickInfra
DNS is the entry point to everything. Route 53 does more than just resolve hostnames — health checks, failover routing, and latency-based routing are powerful availability tools. Here's how QuickInfra configures them.
QuickInfra Team
QuickInfra Cloud Solution
Route 53 is AWS's DNS service, but calling it "just DNS" undersells it significantly. Route 53 health checks, routing policies, and alias records provide availability and performance capabilities that most teams underutilise. QuickInfra's Route 53 resource configuration exposes these capabilities in its infrastructure projects.
Alias Records vs CNAME Records
For AWS resources (ALBs, CloudFront distributions, S3 website endpoints), use Alias records rather than CNAME records. Alias records are free, support the zone apex (yourdomain.com, not just www.yourdomain.com), and return updated IPs when the target changes — unlike a CNAME that points to a hostname that must then be resolved again.
QuickInfra generates Alias records for all AWS-resource targets in your infrastructure projects.
Health Checks
Route 53 health checks actively probe your application: HTTP/HTTPS endpoint checks verify that your application responds with a 2xx status code. Health check results determine which routing policy decisions Route 53 makes.
Configure health checks for every production endpoint that has a failover counterpart. QuickInfra's health check configuration supports custom paths (/health, /ping), custom ports, and string matching in responses.
Failover Routing
Failover routing uses health checks to direct traffic between a primary and secondary target. If the primary health check fails, Route 53 automatically routes traffic to the secondary. This is the mechanism for simple, DNS-level failover between regions or between primary and standby environments.
QuickInfra configures failover routing with appropriate TTLs (low TTL of 60 seconds during active failover, configurable) so clients pick up the DNS change quickly.
Latency-Based Routing
For globally distributed applications, latency-based routing directs users to the AWS region that offers the lowest latency for their location. A user in Mumbai gets routed to ap-south-1, a user in Frankfurt gets routed to eu-west-1.
QuickInfra supports latency-based routing policies with health check integration — if the lowest-latency region fails its health check, Route 53 falls back to the next-lowest-latency region.
Private Hosted Zones
For internal DNS within your VPC (services resolving each other by private hostname), Route 53 Private Hosted Zones provide DNS resolution without exposing names publicly. QuickInfra provisions private hosted zones for all VPCs that contain multi-service architectures.