Uptime monitoring from outside your own infrastructure that alerts you the minute your site goes down — upordown.online
This is a hypothetical case study. The company and timeline are invented, but the failure is a real and common one: a site reachable over IPv4 and broken over IPv6.
The setup
A small SaaS company moves its marketing site and app from one hosting provider to another. The migration is planned well: lower the DNS TTL in advance, copy everything over, switch the A record to the new server's IPv4 address, watch the traffic move. The old server is shut down a week later.
Everything looks normal. The uptime monitor is green. The team's own browsers load the site instantly.
Nobody remembers that, two years earlier, someone added an AAAA record pointing at the old host's IPv6 address.
The symptoms
The first signal isn't an alert. It's a support ticket: "Your app won't load on my phone, but it works on my laptop." Then another: "Times out at home, fine at the office."
The support team does what support teams do: clear your cache, try another browser, restart the router. Some of those "fix" it, purely by coincidence (switching from home Wi-Fi to the office network changes the IP stack the device uses). The tickets get closed as "resolved".
Meanwhile, sign-ups from mobile quietly dip. Nobody connects the two.
Why the monitors stayed green
The uptime checker was running from data-centre machines that only had IPv4 connectivity. It resolved the hostname, got the correct A record, connected, got a 200. Every single check passed.
From the monitor's point of view, there was no outage. From the perspective of anyone whose device preferred IPv6, there was: their device looked up the AAAA record, tried to connect to an address that no longer answered, and either timed out or (with a well-behaved client) fell back to IPv4 after a delay.
That fallback behaviour is why the problem was so slippery. Modern clients implement "Happy Eyeballs", trying IPv6 and IPv4 in close succession and using whichever connects first. So for many users, the site was merely slow on the first connection. For others, depending on the client, the OS and the network, it simply failed. Mobile networks with IPv6 widely deployed were overrepresented.
How it was found
An engineer finally reproduces it from home, on an IPv6-capable connection, and does the boring thing: checks DNS by hand.
dig +short A app.example.com
# 203.0.113.10 <- new server, correct
dig +short AAAA app.example.com
# 2001:db8:abcd::42 <- old server, gone
Then tests each stack explicitly:
curl -4 -sS -o /dev/null -w "v4: %{http_code} in %{time_total}s\n" https://app.example.com
# v4: 200 in 0.21s
curl -6 -sS -o /dev/null -w "v6: %{http_code} in %{time_total}s\n" --max-time 10 https://app.example.com
# curl: (28) Failed to connect to app.example.com port 443 after 10001 ms
There it is. Two DNS records, two completely different realities.
If every monitor is IPv4-only, an IPv6-only outage stays invisible. upordown.online checks your site from the public internet, the same way a visitor does.
The fix
Short term: delete the stale AAAA record. Because the TTL had long since been raised back to its normal value, it took a while for every resolver to forget the old address, which is a good reminder that TTLs work in both directions.
Longer term, the team had two options:
- Don't serve IPv6 at all until the new host supports it properly. Simple, but it means no IPv6 for users who'd benefit.
-
Configure IPv6 on the new host and publish a correct
AAAArecord. Better, but now IPv6 needs to be tested on every change, just like IPv4.
They chose the second, and added monitoring to match.
What changed in monitoring
1. Check both address families explicitly. A check that resolves the hostname and connects "however the machine prefers" only tests one stack. Separate checks for IPv4 and IPv6 catch exactly this split-brain.
2. Alert on DNS changes. A tiny scheduled script that records A, AAAA, CNAME and NS answers and diffs them against yesterday would have shown, during the migration, that one record was never updated.
for t in A AAAA CNAME NS; do
printf "%s\t%s\n" "$t" "$(dig +short $t app.example.com | sort | tr '\n' ' ')"
done > dns-$(date +%F).tsv
diff dns-$(date -d yesterday +%F).tsv dns-$(date +%F).tsv
3. Add "every DNS record" to the migration checklist. Not "update the A record". Every record that points at the old host: A, AAAA, mail records, any subdomain someone created years ago.
4. Treat "works on Wi-Fi, not mobile" tickets as a signal. When the same pattern shows up twice, it's rarely the user's cache.
A quick self-check
If you want to know whether this story could happen to you, it takes two commands. Run dig AAAA yourdomain.com +short to see whether you publish an IPv6 address at all. If you do, run curl -6 -sI https://yourdomain.com from a machine with IPv6 connectivity and confirm you get the same response as with curl -4. If the IPv6 request hangs or fails while IPv4 works, you've found the same gap, before your users did.
Lessons
- Green monitoring means "green from where the monitor stands". If your checker only speaks IPv4, it can't see IPv6 outages, and the reverse is also true.
- DNS records outlive the people who created them. Migrations break on the record nobody remembers.
- Fallbacks hide failures. Happy Eyeballs is great for users, and terrible for noticing that one path is dead.
- Support tickets are monitoring data. Patterns in "it doesn't work for me" are often the first sign of a partial outage.
This is the kind of partial outage we think about a lot at upordown.online: the site isn't down, it's down for someone, and the question is whether your checks are standing where that someone stands.
Related reading
- Ping is not an uptime check: 5 ways ICMP lies about whether your site is up
- Your health check returns 200 while users get errors: 7 health check mistakes
- Your DNS TTL is why the outage lasted 2 hours: set it before you need it
- Is it down, or is it me? Debugging a site that won't load, one layer at a time
- Quick tip: your load balancer hides a dead server. Check each backend with curl --resolve
Does your uptime monitoring check IPv6 separately, or would a broken AAAA record slip past it too? Have you been bitten by one?
Top comments (0)