Arama Yap Mesaj Submit
Request a Callback
+90
X
X

Select Your Currency

Turkish Lira $ US Dollar Euro
X
X

Select Your Currency

Turkish Lira $ US Dollar Euro

Contact Us

Location Halkali merkez neighborhood fatih st ozgur apt no 46 , Kucukcekmece , Istanbul , 34303 , TR
EKA SUNUCU · DEEP TECHNICAL GUIDE

Cloudflare Error 1016 Origin DNS Error: A, CNAME, Workers and SaaS Diagnosis

Cloudflare 1016 Origin DNS Error: diagnose missing A/AAAA records, unresolved CNAMEs, Load Balancer origins, Workers Partial Zone and SaaS causes.

Cloudflare DNS Origin Workers / SaaS Last technical review: 14 August 2026
Current source-verified findings
01

Cloudflare 1016 means Cloudflare cannot resolve the origin web server's IP address through DNS.

02

Cloudflare's current documentation separately lists missing A records, unresolvable external CNAMEs, Load Balancer origin hostnames and Workers Partial Zone cases.

03

In Cloudflare for SaaS, ownership validation, fallback-origin and wildcard custom-hostname conflicts can also produce 1016.

01

When is this guide relevant?

Cloudflare-branded Error 1016: Origin DNS error page A proxied hostname stops working after a DNS change CNAME target is known internally but not publicly resolvable Only some Workers/SaaS custom hostnames return 1016
02

Why 1016 is not the same as 521/522

1016 happens at DNS resolution: Cloudflare has not reached the point of connecting to the origin IP. 521 involves a refused/down origin and 522 a timeout. With 1016, first answer which IP Cloudflare is supposed to resolve for the origin.

This distinction prevents wasted work. Restarting Nginx, changing firewall rules or replacing certificates will not solve 1016 if the origin hostname itself cannot resolve.

03

Does the A / AAAA record actually exist?

One of Cloudflare's documented causes is a missing A record for the origin. Do not rely only on what the dashboard shows; query public DNS and verify that the hostname actually returns an A/AAAA answer.

A wrong AAAA record can create separate connectivity problems. For 1016, first establish whether resolution exists at all, then verify that the returned IP points to the intended origin.

Command / check
nslookup origin.example.com
dig +short A origin.example.com
dig +short AAAA origin.example.com
04

Can the CNAME target resolve in public DNS?

Cloudflare must be able to follow the CNAME chain to a resolvable IP. If an external target was removed, mistyped or exists only in private DNS, Cloudflare cannot derive an origin address.

Inspect the CNAME chain through multiple public resolvers. DNSSEC or delegation issues can make one resolver appear healthy while Cloudflare's resolvers cannot obtain a valid answer.

Command / check
dig CNAME app.example.com +short
dig app.example.com @1.1.1.1
dig app.example.com @8.8.8.8
05

Load Balancer origin hostnames also depend on DNS

If a Load Balancer pool uses a hostname rather than an IP, that hostname must also resolve. A resolution failure can break routing even before you focus on HTTP health checks.

If the origin hostname is in the same Cloudflare zone, avoid recursive or circular proxy dependencies. A dedicated, directly resolvable origin hostname makes troubleshooting safer.

06

Workers Partial CNAME setup requires a real zone record

Cloudflare explicitly documents that Workers subrequests in Partial CNAME setups can return 1016 when the target hostname has no actual DNS record in the zone. Constructing a URL in Worker code does not create DNS.

In that case, inspect the Worker fetch target, zone DNS records and the Partial CNAME architecture together. Debugging only the script is insufficient.

07

Cloudflare for SaaS 1016: ownership and fallback origin

With SaaS custom hostnames, also inspect ownership validation, fallback origin and custom-hostname status. Cloudflare for SaaS documents 1016 when validation is incomplete or the fallback origin is invalid.

A wildcard custom hostname can also conflict with a standalone Cloudflare zone. In this architecture, troubleshooting only the DNS record misses the SaaS control-plane state.

08

Verify public DNS and the Cloudflare path after changes

After fixing DNS, verify A/CNAME answers through multiple resolvers, then test the proxied hostname. If the error changes from 1016 to 521, 522 or 525, DNS is likely fixed and the next origin layer is now exposed.

Command / check
curl -I https://app.example.com
Diagnostic table

1016 cause map

Scenario Check
Missing A/AAAA Public DNS answer for origin hostname
External CNAME does not resolve CNAME chain and authoritative DNS
Workers Partial Zone Actual DNS record for target in the zone
Cloudflare for SaaS Ownership, fallback origin, custom-hostname status
Risk and implementation note

Before production changes, verify context and keep backups and a rollback plan. Do not change several DNS, TLS, recovery, Docker or WordPress variables at once because it obscures the root cause.

FAQ

Frequently asked questions

Does Cloudflare 1016 mean the origin server is down?

No. 1016 primarily means the origin hostname cannot be resolved to an IP; a healthy server can still produce 1016 if DNS is wrong.

Should I replace the SSL certificate for 1016?

No. Fix DNS resolution first. SSL handshake matters only after Cloudflare can reach an origin IP.

DNS is fixed but I now get 525. What happened?

The 1016 layer may be resolved; Cloudflare can now reach the origin but TLS handshake fails. Diagnose 525 separately.

REFERANS

Official and primary technical sources

CLUSTER

Related technical guides

EKA SUNUCU · ALTYAPI VE TEKNİK DESTEK

Connect your origin DNS cleanly to your VPS infrastructure

If the problem persists in hosting, VPS, Docker, Cloudflare, Windows or WordPress infrastructure, open a technical support request with the exact error output and current architecture.

Top