Amazon Web Services uses 40 prefixes for ROUTE53.
Short answer
ROUTE53 lists the addresses of Amazon’s authoritative DNS servers.
Prefixes
What changed
No prefixes added or removed since we started tracking this list. Changes appear here the day after the provider publishes them.
Allowlist formats
nginx (first 5 prefixes)
allow 1.179.52.0/22; allow 1.179.56.0/22; allow 18.196.222.0/24; allow 18.196.223.0/24; allow 205.251.192.0/21; deny all;
iptables (first 5 prefixes)
iptables -A INPUT -s 1.179.52.0/22 -j ACCEPT iptables -A INPUT -s 1.179.56.0/22 -j ACCEPT iptables -A INPUT -s 18.196.222.0/24 -j ACCEPT iptables -A INPUT -s 18.196.223.0/24 -j ACCEPT iptables -A INPUT -s 205.251.192.0/21 -j ACCEPT
Generate the full list from the CSV, and refresh it on a schedule: providers add and retire prefixes often.
Sources
- Amazon Web Services: published IP ranges · checked 5 Nov 2026
- Amazon Web Services documentation