Design DNS for hybrid multi-VPC, multi-account AWS with on-prem integration.
AdvancedScenarioDNS & Service Discovery
Answer
Situation read → You need a central design so teams don't each create overlapping private zones.
What I'd do →
- Create a shared-services VPC with Route 53 Resolver inbound and outbound endpoints
- Share resolver rules with RAM to all accounts and associate them with VPCs
- Use private hosted zones per domain, associated to all VPCs that need them
- Forward on-prem domains with outbound rules, and on-prem forwards AWS domains to inbound endpoint IPs
- Log queries with Resolver query logging
Why → Central resolvers with shared rules avoid per-account sprawl and loops.
Interview tip → Mention avoiding forwarding loops between on-prem and AWS.
More on DNS & Service Discovery
A customer types www.example.com in a browser. Walk through how DNS resolves it.BeginnerWhat is the difference between an A record and a CNAME, and when do you use each?BeginnerWhy can't you put a CNAME at the zone apex, and what do you use instead?BeginnerYou are moving a site to a new server. What do you do with DNS to make the cutover smooth?BeginnerHow do you find which nameservers are authoritative for a domain and query them directly?BeginnerWhat DNS records do you set up for company email?Beginner