# How to Diagnose Cloudflare Error 1016

https://ferkesh.net/uk/baza-znan/stattia/cloudflare-origin-dns-1016

![Workflow: Capture the affected host; Follow the origin target; Review dependencies; Verify through the proxy.](https://ferkesh.net/kb-media/ferkesh-guide-diagrams-batch-12.svg#cloudflare-origin-dns-1016)

A Cloudflare error 1016 points to an origin name that the service cannot resolve. A healthy public answer for the proxied hostname does not prove the origin target has a valid answer.

## Procedure

1. **Capture the affected host.** Record the hostname, time and Ray ID from the error. Compare affected and unaffected hostnames. Confirm the record in the authorized Cloudflare account.
2. **Follow the origin target.** Read the configured CNAME destination and resolve that destination using authoritative and independent recursive answers. Check spelling, delegation, recent renames and chains with a missing target.
3. **Review dependencies.** Ask the target provider about its supported hostnames and custom-domain requirements. After migration, prove the intended endpoint is ready before correcting the CNAME.
4. **Verify through the proxy.** Retest the original URL and confirm content, redirects and TLS at the intended hostname. Preserve the earlier record for rollback and keep private origin details out of public incident updates.

When the origin hostname resolves and the error changes, [distinguish Cloudflare Error 521 from Error 522](https://ferkesh.net/knowledgebase/article/cloudflare-521-versus-522-origin) to diagnose connection refusal or timeout.

## Related guides

- [How to Audit Cloudflare Proxy Status Before a DNS Change](https://ferkesh.net/knowledgebase/article/cloudflare-proxy-status-runbook)
- [Diagnose NXDOMAIN and SERVFAIL DNS Errors](https://ferkesh.net/knowledgebase/article/dns-nxdomain-servfail)
- [Domains and DNS articles](https://ferkesh.net/knowledgebase/category/domains-and-dns)

## Official references

- [Cloudflare error diagnostic headers](https://developers.cloudflare.com/support/troubleshooting/http-status-codes/cloudflare-error-headers/)
- [Cloudflare proxy status](https://developers.cloudflare.com/dns/proxy-status/)

Ferkesh Hosting. Last reviewed November 26, 2026.
