Troubleshooting guide
Cloudflare error 1016 "Origin DNS error": how to fix it
Cloudflare could not resolve the origin it should forward the request to. A DNS record in the Cloudflare zone points at a host name that no longer exists.
3 min read11 sectionsUpdated
On this page
Fixes if it is your site
Look up the CNAME target. If it does not resolve, point the record at the current origin (IP or valid host name). Remove records for services you no longer run, since dangling CNAMEs can also be taken over by others.
dig +short CNAME www.example.com
dig +short $(dig +short CNAME www.example.com) # empty = the target does not resolveWho produced the error: the CDN or your origin?
CDN error pages are generated at the edge, but most of them describe a problem behind it. Request the origin directly (with the right Host header) to see whether it answers on its own; compare response headers with and without the CDN; and check the CDN’s status page to rule out a provider incident. Keep an uptime check on the public URL (through the CDN) and, if you can, another on the origin, so an alert tells you straight away which side failed. During an incident, post a short update on a status page that does not depend on the same CDN.
How site owners catch this before visitors do
Most visitors who hit Cloudflare error 1016 "Origin DNS error" leave without telling you. An uptime check every minute, with a keyword assertion on the page and an SSL check on every run, turns this from a support ticket into an alert. Keep the history: errors that come and go (one region, one server behind a load balancer, one in twenty requests) only make sense on a timeline. Put the result on a status page so people stop guessing. You can test any address now with the free website down checker.
Is 1016 a Cloudflare outage?
No, the site’s origin record is wrong.
How is it different from 523?
523 means Cloudflare resolved the origin but could not reach it; 1016 means it could not resolve it.
What is a dangling CNAME?
A record pointing at a deleted resource, which attackers can sometimes claim.
Check it now, free
- Is Cloudflare down? Live status: checked every few minutes, with outage history.
Related reading
- Cloudflare error 521: web server is down: Fix Cloudflare error 521 "Web server is down": the origin refused the connection. Check the web server, firewall rules for Cloudflare IPs and DNS.
- Cloudflare error 522: connection timed out: Fix Cloudflare error 522 "Connection timed out": the origin did not complete the TCP connection in time. Overloaded servers, dropped packets and wrong DNS.
- Cloudflare error 530: how to fix it: Fix Cloudflare error 530, usually shown with error 1033 (Argo Tunnel error) or 1016: stopped cloudflared tunnels, deleted tunnels and origin DNS problems.
- Cloudflare error 1015 "You are being rate limited": how to fix it: Fix Cloudflare error 1015 "You are being rate limited": what triggers rate limiting rules, how long blocks last, and how site owners tune them.
- Cloudflare error 520: web server returns an unknown error: Fix Cloudflare error 520 "Web server returns an unknown error": empty or reset origin responses, crashes, oversized headers and keep-alive mismatches.
- DNS_PROBE_FINISHED_NXDOMAIN: fix it for your domain: What DNS_PROBE_FINISHED_NXDOMAIN means, how to check your domain and DNS records, the usual causes such as expiry and typos, and how to monitor DNS.
Watch your own site and services with VitalRix
Uptime checks, APM, logs, real-user monitoring, alerts and status pages in one place. Every product has a free tier and no credit card is needed.