aws Terminology Reference

  • Issue: in hybrid architecture, VPC can’t access Data Center name and Data center can’t access VPC private DNS name.
  • Traditional workaround:
    • spin up EC2 to run bind or unbound as DNS server, used to forward request to plus-2 resolver
    • need to consider failover and sometimes a group of DNS server per vpc
  • This requirement is called Recursive DNS lookup.

How Route53 Resolver works

  • only works for single region (can’t span region)
  • multiple VPCs under multiple accounts (as long as they are in same region) can share the same Resolver endpoint
  • Need to provision ENI for the resolver, for HA and performance, recommend to provision multiple ENIs
    • One ENI serving one direction of querying (for example, from VPC to On-Pre)
  • When a resolve request received, it will check against all resolve rules, if no matching, treat as local.
    • rules can be shared between accounts (via Resource Access Manager – RAM)

Route 53 Resolver Demo

Terminology

Authoritative DNS
Recursive DNS

Reference

https://youtu.be/D1n5kDTWidQ