Cloudflare Error 1016: Origin DNS error

Cloudflare can’t resolve the origin hostname your DNS record points to (usually a CNAME target).

Seen on: Cloudflare

Meaning

A CNAME pointing at a hostname that no longer exists (deleted Heroku/Render/Azure app, typo, expired provider record) or an origin hostname that only resolves internally.

Common causes

  • CNAME target deleted or misspelled
  • Origin provider changed its hostname
  • Target resolves only on a private network
  • Load balancer pool origin with bad hostname

⚡ Quick fix

  1. Check the CNAME target resolves publicly
  2. Update the record to the provider’s current hostname or an IP
  3. Fix Load Balancer origin addresses

Detailed fix by platform

Shell

  1. bash
    dig +short CNAME app.example.com @1.1.1.1
    dig +short myapp.herokuapp.com @1.1.1.1

How to diagnose

  1. Target — Resolves publicly?
  2. Provider — App still exists?

🔧 Still not fixed?

Many errors look alike. If the steps above didn’t solve it, one of these is probably what you’re facing:

🧠 Still stuck? Analyze your error

Paste the full message, response headers or stack trace — we'll detect the platform and point to the most likely cause.