Resolver endpoint scaling - Amazon Route 53
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Resolver endpoint scaling

Resolver endpoint security groups use connection tracking to gather information about traffic to and from the endpoints. Each endpoint interface has a maximum number of connections that can be tracked, and a high volume of DNS queries can exceed the connections and cause throttling and query loss. To reduce the number of connections that are tracked, implement security group rules that permit traffic based on the connection state of the traffic. For more information, see Security groups and Connection tracking in Amazon EC2 User Guide for Linux Instances .

Connections made through applications like Amazon Transit Gateway , Network Load Balancer, and Amazon Lambda (for a full list see Automatically tracked connections ) are automatically tracked, even if the security group configuration does not otherwise require tracking.

If the connection tracking is enforced either by using restrictive security group rules or queries are routed through Transit Gateway or Network Load Balancer, the overall maximum queries per second per IP address for an inbound endpoint can be as low as 1500.

Inbound and Outbound Resolver security group recommendations

Inbound rules
Protocol type Port number Source IP
TCP 53 0.0.0.0/0
UDP 53 0.0.0.0/0
Outbound rules
Protocol type Port number Destination IP
TCP All 0.0.0.0/0
UDP All 0.0.0.0/0

Inbound Resolver endpoints

For clients using an inbound resolver endpoint, the capacity of the elastic network interface will be impacted if you have over 40,000 unique IP address and port combinations generating the DNS traffic.