Prompt
Need DNS CDN app outage detection
Latest observation
Oct 20, 2026
OpenAI APIWeb search: off
Here’s a practical way to do DNS/CDN/app outage detection—from simplest to robust.
What to detect
You usually want to detect outages at 3 layers:
-
DNS layer
- Domain doesn’t resolve
- Wrong IP / wrong CNAME target
- High DNS latency / SERVFAIL / NXDOMAIN
- TTL changes or propagation issues
-
CDN/edge layer
- CDN returns 5xx/4xx unexpectedly
- Edge POP unreachable from certain regions
- TLS/cert issues
- Cache poisoning / stale content / origin pull failures
-
Application layer
- Homepage or key endpoints fail
- API health checks fail
- Login/checkout/search paths broken
- Elevated latency or error rate
Recommended detection strategy
1) Synthetic monitoring
Run checks from multiple regions every 1–5 minutes:
-
DNS check
A,AAAA,CNAMEresolution- Compare answers against expected values
- Track lookup time and failure rate
-
HTTP/HTTPS check
- GET
/health,/, and critical APIs - Verify:
- status code
- response time
- TLS cert validity
- content keywords / JSON fields
- redirects are expected
- GET
-
Multi-region
- At least 3 regions:
- North America
- Europe
- Asia/Pacific
- Helps catch geo-specific CDN issues
- At least 3 regions:
2) Passive monitoring
Use your app and CDN logs/metrics:
- DNS query failures
- CDN 5xx rate
- Origin fetch failures
- Cache hit ratio drops
- p95/p99 latency spikes
- App error rate
- Synthetic probe failures
3) Alert correlation
Alert only when multiple signals agree:
- DNS fails + HTTP fails = likely DNS/CDN issue
- DNS OK + HTTP 5xx = likely app/CDN/origin issue
- Only one region failing = likely regional POP issue
Simple alerting rules
Examples:
-
Critical
- 2 of 3 regions fail DNS resolution for 3 consecutive checks
- 2 of 3 regions get non-200 from homepage for 3 consecutive checks
- p95 latency > threshold for 10 min and error rate > threshold
-
Warning
- One region fails
- DNS lookup time > 500 ms for 5 min
- CDN 5xx > 1% for 5 min
Useful tools
Open source
- Prometheus + Blackbox Exporter for DNS/HTTP/TCP checks
- Grafana for dashboards
- Alertmanager for alerts
- Zabbix / Nagios / Icinga if you want traditional monitoring
SaaS
- Datadog Synthetic Monitoring
- Pingdom
- New Relic Synthetics
- Catchpoint
- ThousandEyes for internet path/CDN visibility
Example check design
For each target domain:
- DNS:
- resolve
example.com - resolve
www.example.com - validate CNAME chain
- resolve
- HTTP:
GET https://example.com/healthGET https://example.com/- validate response contains expected string/JSON
- Compare:
- status code
- latency
- certificate expiry
- resolved IPs by region
Minimal architecture
- Probes in 3+ regions
- Central collector
- Time-series DB for metrics
- Alert engine
- Dashboard
If you want a quick start
Use Prometheus Blackbox Exporter:
- module for DNS
- module for HTTP
- module for TCP
- alert on failure across multiple probes
Example alert logic
IF
dns_success_rate < 80% for 3m
AND
http_success_rate < 80% for 3m
THEN
trigger outage alert
If you want, I can give you one of these next:
- a Prometheus/Blackbox Exporter config
- a cloud architecture diagram
- a Python script to detect DNS/CDN/app outages
- Grafana dashboard panels and alerts