An on-premises DNS server forwards queries to a Route 53 Resolver inbound endpoint over AWS Direct Connect; small responses succeed, but truncated UDP responses fail when retried over TCP. The endpoint security group permits only UDP port 53 from that server; what should an engineer change?
Show the answer
Correct answerD. Allow inbound TCP port 53 from the DNS server.
AWhy not this: Record TTLs control caching duration, not whether TCP retries can reach the Resolver endpoint.
BWhy not this: Direct Connect gateways do not have a DNS resolution setting that permits traffic through endpoint security groups.
CWhy not this: An outbound endpoint forwards VPC-originated queries to other DNS servers; it does not permit inbound TCP retries.
DWhy this is right: Allowing TCP port 53 lets the server retry truncated DNS responses using the required transport.
DNS clients can retry truncated UDP responses over TCP, so the inbound endpoint must accept TCP port 53 from the DNS server. An outbound endpoint handles queries leaving the VPC and does not fix blocked inbound TCP queries.