EC2 uses VPC Resolver and forwards only corp.example.com to on-premises authoritative DNS using Do53 TCP/UDP 53, not DoH. DX or VPN routes, NACLs, on-premises firewalls, and return paths are prepared for both protocols from the endpoint.
Endpoint IPs can be placed in two AZs. On-premises DNS targets are 10.50.0.53 and 10.50.1.53; associate the forwarding rule with the VPC. There are no forwarding loops or conflicting rules; other names use ordinary VPC Resolver resolution.
Which endpoint, rule, and SG configuration is required?
Associate a scoped FORWARD rule with an outbound endpoint and permit both Do53 transports to on-premises DNS.
Detailed explanation
Rule creation does not establish association with consuming VPCs. Verify target VPC, endpoint, domain, and target server settings.
Inbound endpoints receive hybrid queries into VPC Resolver; they do not alone configure outbound forwarding from the VPC.
Do53 also requires TCP. A short UDP reply does not establish support for TCP queries; allow and test both protocols.
Outbound direction, domain, target servers, and VPC association are required. Permit TCP as well as UDP and use the prepared network path.
Check official documentation
Compare the following points with the official documentation.
In an approved test domain, distinguish endpoint IPs from on-premises target IPs. Check suffix, VPC association, TCP/UDP 53 egress, and bidirectional routing. Test DNS over UDP and TCP from the VPC and compare responses with on-premises DNS logs.
Official references
What to confirm
corp.example.com queries reach the selected on-premises DNS servers and return expected UDP/TCP answers. Do not assume all other names are forwarded or confuse VPC endpoint addresses with DNS target addresses.
Key points
- Resolver outbound endpoint
- FORWARD rule
- Do53
Notes
- Environment: Official Resolver documentation and approved VPC and on-premises Do53 test DNS with network paths prepared
- Reviewed against the linked AWS documentation on 2026-10-15.
Foundation review
Separate direction and IP roles
Outbound endpoints send VPC queries to external DNS. Place endpoint IPs in different AZs here and distinguish their VPC source addresses from on-premises target addresses. Inbound endpoints serve the reverse query direction.
Associate the rule with consuming VPCs
Configure corp.example.com FORWARD with its endpoint and on-premises target IPs, and associate it with the VPC. Creation does not apply it to every VPC; forward only the required suffix.
Verify both Do53 transports and return paths
Allow endpoint SG egress to DNS targets over TCP/UDP 53. Routes, NACLs, on-premises firewalls, and returns are still required; the endpoint does not create the hybrid network link. Keep DoH separate and verify actual UDP/TCP responses and target logs.