Interview Prep/Networking/DNS & Service Discovery

How do you delegate a subdomain to another team's AWS account?

IntermediateScenarioDNS & Service Discovery
Answer

Situation read → Subdomain delegation lets the owning team manage their zone independently.

What I'd do →

  1. In the child account create the hosted zone dev.example.com and note its four nameservers
  2. In the parent zone add an NS record dev.example.com with those four values
  3. Verify with dig NS dev.example.com +short
  4. Remove the delegation to undo, and never keep conflicting A records for the same name in the parent zone

Why → NS records at the parent create the delegation; the child zone becomes authoritative.

Interview tip → Mention this is also how you split blast radius in a large organization.

All Networking questions Roadmap: Networking for DevOps

More on DNS & Service Discovery