DNS Error During an AWS Outage: What to Check First
In this article
A DNS error during an AWS outage is usually either AWS itself failing to resolve names, or your own DNS resolver caching a bad answer. Check the AWS Health Dashboard first, then test whether the name resolves from outside your network before changing anything.
Time 6 min · Steps 8 · Level Medium
Work Through These Checks in Order
- Open the AWS Health Dashboard. The "Service Health" view shows region-wide problems for services like Route 53, EC2 and ELB. If the banner shows an active event in your region, the DNS error is on AWS's side and your job is to wait and verify, not to reconfigure.
- Test the name from outside your network. Use a phone on mobile data (not Wi-Fi) or a public DNS lookup tool and query the failing hostname. If it resolves publicly but not from your office or home network, the problem is your local resolver, not AWS.
- Flush your local DNS cache. On Windows, open Command Prompt and run ipconfig /flushdns; on macOS, run sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder; on Linux, run sudo resolvectl flush-caches or restart systemd-resolved. Exact commands can differ by version.
- Bypass your resolver with a public one. Query 8.8.8.8 (Google) or 1.1.1.1 (Cloudflare) directly, for example nslookup yourhost.example.com 8.8.8.8. If that works but your normal resolver fails, switch your device or router to a public resolver temporarily.
- Check Route 53 health checks and failover records. If you use Route 53 failover or latency routing, an outage in one region can flip traffic to a secondary record. Look at the health check status in the Route 53 console: a failed health check is the sign your DNS is doing exactly what it was configured to do.
- Check TTLs before panicking. A record with a 300-second TTL can take up to 5 minutes to correct everywhere; a 172800-second TTL (2 days) can serve the stale address for 2 days. Note your TTLs now, while things work, so you know the recovery window during the next incident.
- Check the resolver's own logs. If you run your own resolver (BIND, Unbound, or a VPC DHCP option set pointing at AmazonProvidedDNS), look for SERVFAIL responses. SERVFAIL from the resolver during an AWS event usually means the upstream name servers were unreachable, and it clears on its own.
- Confirm recovery with a clean query. After AWS reports the incident resolved, flush your cache again and query the hostname twice. Two consecutive correct answers, a minute apart, means the fix held; a flapping answer means caching layers are still serving mixed results.
Tell the Two Failure Modes Apart in Under a Minute
The single most useful distinction is whether AWS is failing or your resolver is. An AWS-side DNS problem shows up everywhere at once: the same hostname fails from your phone on mobile data, from a cloud server in another region, and from a colleague in another city. A local resolver problem fails only inside one network. Test from two different networks and you have your answer before the AWS status page even loads.
The error text is a second clue. "NXDOMAIN" means the name does not exist at that moment, which during an outage can mean the zone's name servers were unreachable. "SERVFAIL" means the resolver tried and gave up, which is the classic signature of an upstream outage. "Timeout" usually points at network reachability rather than DNS data.
Why Outages Break DNS Even When DNS Is Fine
DNS is often the messenger, not the culprit. When an AWS service degrades, health checks fail, load balancers stop answering, and failover records switch to endpoints that are themselves unhealthy. Your browser reports a DNS error, but the underlying fault is the resource behind the name. Confirm this by resolving the name successfully and then connecting to the returned address directly; if resolution works and the connection fails, DNS is not your problem.
Caching makes recovery feel slower than the incident. Every resolver between your device and AWS's authoritative servers holds a copy of the answer for the TTL. Even after AWS fixes the record, caches keep serving the old answer until it expires. Lowering production TTLs to 60 seconds during a known incident window (if your change process allows it) shortens that tail considerably, at the cost of more query volume.
Route 53 Specifics Worth Knowing
Route 53's authoritative servers answer for your hosted zone; AmazonProvidedDNS (the VPC resolver at the VPC's base address plus 2) forwards to them. If the AWS status page shows Route 53 degraded, there is nothing to fix on your side; you verify, you wait, and you keep your cache flushed so recovery lands quickly. If the status page is green but your VPC resolver fails, check the security group and network ACL rules on the subnet, and confirm the DHCP options set still points at the resolver you expect. Menu and console labels can differ slightly between versions of the AWS console.
What to Do While You Wait for AWS to Fix It
If the dashboard confirms an active incident, the practical moves are small. Post a plain-language status note for your users so they stop retrying and flooding your support channel. Stop automated retries that hammer the failing name, because retry storms extend recovery. If you have a documented secondary endpoint outside the affected region, this is the moment your failover design either earns its keep or reveals its gaps; test the secondary name resolves before switching anything.
Keep a timestamped log of what failed and when. When the incident closes, that log is what tells you whether your monitoring caught the DNS failure first or your users did, and whether your TTLs helped or hurt.
After Recovery: Verify Nothing Is Half-Broken
Recovery checks catch the problems an outage leaves behind. Flush every cache layer you control (device, router, corporate resolver), then resolve the hostname from at least two networks. Load the actual service, not just the name: a page that loads fully, a health endpoint that returns its normal response, and a database-backed request that succeeds. Watch for the first 15 minutes after AWS declares resolution, since caches expiring at different times can produce intermittent failures that look like a new incident. If a name still fails 30 minutes after AWS reports full recovery, the stale answer is almost certainly in a cache you do not control, and only its TTL will clear it.
Official source: Amazon Web Services