teluzia.Cloud Engineer · Day 52
CHAPTER 08 · AWS SCALING AND DATABASES

Route 53

4–5 hours including independent practice3 topics
LET’S MAKE THIS SIMPLE

What you’re learning today

Connect a domain name to an application while understanding authoritative DNS and cached answers. Route 53 hosted zones, records and routing policies solve different parts of the problem. Your planning lab uses the reserved example.test name and corrects a delegated-zone mismatch without purchasing a domain. A public hosted zone contains authoritative records for a domain and has name servers that must be delegated appropriately. A private hosted zone serves associated VPC contexts rather than public internet resolvers. Registering a domain and creating a hosted zone are separate operations. Duplicate zones can have different name-server sets. A and AAAA records supply addresses; CNAME aliases a name and has restrictions at the zone apex. Route 53 alias records can target supported AWS resources such as an ALB and are suitable for relevant apex use cases. TTL and resolver caching mean changes are not observed instantaneously everywhere.

Think of it this way

A hosted zone is the published address book; delegation tells the world which address book is authoritative.

TOPIC 01 / 03Step by step

Hosted zones and delegation

A public hosted zone contains authoritative records for a domain and has name servers that must be delegated appropriately. A private hosted zone serves associated VPC contexts rather than public internet resolvers. Registering a domain and creating a hosted zone are separate operations. Duplicate zones can have different name-server sets. If example.test has two fictional hosted zones, adding records to the one whose name servers are not delegated will not change public answers from the delegated zone. Delegation awareness prevents debugging application targets when the actual DNS change was published into an unused zone and explains why apparently correct console records may not be authoritative. Creating a hosted zone without updating delegation does not make it the active public source; verify name-server authority before treating a missing answer as an ALB problem.

WORKED EXAMPLE
If example.test has two fictional hosted zones, adding records to the one whose name servers are not delegated will not change public answers from the delegated zone.
Why this matters

Delegation awareness prevents debugging application targets when the actual DNS change was published into an unused zone and explains why apparently correct console records may not be authoritative.

A common trap

Creating a hosted zone without updating delegation does not make it the active public source; verify name-server authority before treating a missing answer as an ALB problem.

Read all topics in this lesson

A complete reference to revisit alongside the guided steps above.

Hosted zones and delegation

A public hosted zone contains authoritative records for a domain and has name servers that must be delegated appropriately. A private hosted zone serves associated VPC contexts rather than public internet resolvers. Registering a domain and creating a hosted zone are separate operations. Duplicate zones can have different name-server sets. If example.test has two fictional hosted zones, adding records to the one whose name servers are not delegated will not change public answers from the delegated zone. Delegation awareness prevents debugging application targets when the actual DNS change was published into an unused zone and explains why apparently correct console records may not be authoritative. Creating a hosted zone without updating delegation does not make it the active public source; verify name-server authority before treating a missing answer as an ALB problem.

WORKED EXAMPLE
If example.test has two fictional hosted zones, adding records to the one whose name servers are not delegated will not change public answers from the delegated zone.

Why this matters

Delegation awareness prevents debugging application targets when the actual DNS change was published into an unused zone and explains why apparently correct console records may not be authoritative.

A common trap

Creating a hosted zone without updating delegation does not make it the active public source; verify name-server authority before treating a missing answer as an ALB problem.

Records, aliases and TTL

A and AAAA records supply addresses; CNAME aliases a name and has restrictions at the zone apex. Route 53 alias records can target supported AWS resources such as an ALB and are suitable for relevant apex use cases. TTL and resolver caching mean changes are not observed instantaneously everywhere. An apex example.test alias can target an ALB under Route 53’s supported alias model, whereas a normal CNAME at that apex conflicts with required zone data. Correct record choice supports AWS endpoint behavior and makes caching expectations explicit, reducing the temptation to recreate resources when a resolver still has a valid older answer. Assuming a DNS update is instant ignores cache lifetime; compare authoritative and recursive answers and record TTL rather than repeatedly changing the record during propagation investigation.

WORKED EXAMPLE
An apex example.test alias can target an ALB under Route 53’s supported alias model, whereas a normal CNAME at that apex conflicts with required zone data.

Why this matters

Correct record choice supports AWS endpoint behavior and makes caching expectations explicit, reducing the temptation to recreate resources when a resolver still has a valid older answer.

A common trap

Assuming a DNS update is instant ignores cache lifetime; compare authoritative and recursive answers and record TTL rather than repeatedly changing the record during propagation investigation.

Routing policies and health

Simple, weighted, latency, failover and other policies decide which eligible DNS answers are returned. DNS routing is not per-request load balancing and existing connections may continue using previous addresses. Health checks and evaluate-target-health behavior depend on record type and target. Failover still needs a usable standby application. A 90/10 weighted DNS plan does not guarantee exactly nine of every ten HTTP requests use one endpoint because clients cache answers and send many requests per resolution. DNS-level routing distinctions prevent false traffic-distribution promises and make failover tests include caches, endpoint readiness and application data rather than only a changed record value. Treating a healthy DNS target as proof of complete application correctness overlooks dependencies and cached clients; validate end-to-end behavior before calling a failover plan operationally ready.

WORKED EXAMPLE
A 90/10 weighted DNS plan does not guarantee exactly nine of every ten HTTP requests use one endpoint because clients cache answers and send many requests per resolution.

Why this matters

DNS-level routing distinctions prevent false traffic-distribution promises and make failover tests include caches, endpoint readiness and application data rather than only a changed record value.

A common trap

Treating a healthy DNS target as proof of complete application correctness overlooks dependencies and cached clients; validate end-to-end behavior before calling a failover plan operationally ready.

KEEP THESE WITH YOU

Today’s takeaways

Verify authoritative delegation.

Choose appropriate records.

Treat DNS routing and request balancing separately.

CLOSE THE LOOP

Ready to complete this day?

Verify the practical steps and pass the knowledge check (at least two thirds correct).

Lab steps verifiedKnowledge check passed