Cloudflare Error 1034: Edge IP Restricted

The DNS record points to a Cloudflare IP not assigned to your zone — typically an A record pointing to an old Cloudflare IP or another account’s address.

Seen on: Cloudflare

Meaning

Cloudflare restricts which edge IPs serve which zones. Hard-coded Cloudflare IPs (in DNS at another provider or hosts files) stop working when assignments change.

Common causes

  • Hard-coded Cloudflare IP in DNS at another provider
  • Hosts file with a Cloudflare IP
  • Partial (CNAME) setup pointing at wrong IPs

⚡ Quick fix

  1. Use the hostnames/CNAMEs Cloudflare provides instead of IPs
  2. Remove hosts file entries
  3. Update DNS at the external provider

Detailed fix by platform

Shell

  1. bash
    dig +short example.com
    grep example.com /etc/hosts

How to diagnose

  1. DNS — Where is the IP coming from?
  2. Setup — Full or partial (CNAME) setup?

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