Cloudflare Error 1001: DNS resolution error

Cloudflare received the request but the hostname isn’t set up on Cloudflare (or the domain was just added and not active yet).

Seen on: Cloudflare

Meaning

Usually a CNAME pointing to a hostname on Cloudflare that doesn’t exist in that zone, a domain recently added/removed, or a Pages/Workers custom domain not configured.

Common causes

  • Hostname missing in the Cloudflare zone
  • Domain added recently (nameservers not active)
  • CNAME to a Cloudflare-hosted target that doesn’t exist
  • Custom domain not attached to Pages/Workers

⚡ Quick fix

  1. Add the DNS record for the hostname
  2. Wait for nameserver activation
  3. Attach the custom domain in Pages/Workers settings

Detailed fix by platform

Shell

  1. bash
    dig +short NS example.com
    dig +short app.example.com @1.1.1.1

How to diagnose

  1. Zone — Record exists?
  2. Status — Zone active?
  3. Target — Pages/Workers custom domain set?

🔧 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.